Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Gizmo to support self-define control #198

Open
yangfengzzz opened this issue Apr 18, 2023 · 1 comment
Open

Refactor Gizmo to support self-define control #198

yangfengzzz opened this issue Apr 18, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@yangfengzzz
Copy link
Member

now, Gizmo can control size, translation and rotation. Actually, these three is the basic of viewport manipulation. Gizmo can be refactor to control more paremeter like Collider size, waypoint, and event in CSG modelling mode.

Gizmo should consider to split these three, and make the control target can be self-defined.

@yangfengzzz yangfengzzz added the enhancement New feature or request label Apr 18, 2023
@yangfengzzz yangfengzzz added this to the 1.2 milestone Apr 18, 2023
@yangfengzzz
Copy link
Member Author

I think Gizmo is better to use raycast not framebuffer picker to contol the toggle. Because in some situation, like waypoint, collider, they are not renderer component but only post-draw wireframe. framebuffer picker will limit the usage of gizmo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants