Editor: Add some gizmo handles for MeshInstance3D - #105523
Conversation
b2f23a0 to
2638a02
Compare
2638a02 to
784225c
Compare
784225c to
710d0dc
Compare
710d0dc to
9fa4c62
Compare
There was a problem hiding this comment.
Tested locally, it works as expected (including undo/redo). This is a nice usability improvement 🙂
Code looks good to me.
Do you think you could add a gizmo for SphereMesh too? It's probably the most important one that's missing right now. The rest (PlaneMesh/QuadMesh, PrismMesh, TorusMesh, RibbonTrailMesh, TubeTrailMesh) can be left for a future PR.
Might look into it in a future PR. Main reason for not having it in here, is that this PR started out as just adding glue code to Edit: Just noticed, it's kinda hilarious that we have shared gizmo logic and it still requires this much code to actually integrate. |
|
Thanks! |
Editor: Add some gizmo handles for `MeshInstance3D`
Editor: Add some gizmo handles for `MeshInstance3D`
Adds gizmos handles for boxes, cylinders and capsules to
MeshInstance3D:Screencast.From.2025-04-18.14-52-45.mp4
Since cylinder meshes have a split radius for top and bottom this PR adds a new handle behavior to
GizmoHelper3Dcalled cone frustum. I was considering adding handles for top and bottom radius as well, but I didn't find a good way to handle overlap with the height handles when dragging them very small, so this behavior only features one handle to move the middle point as seen in the video.