Skip to content

Editor: Add some gizmo handles for MeshInstance3D - #105523

Merged
Repiteo merged 1 commit into
godotengine:masterfrom
HolonProduction:gizmo-mesh
Jan 27, 2026
Merged

Editor: Add some gizmo handles for MeshInstance3D#105523
Repiteo merged 1 commit into
godotengine:masterfrom
HolonProduction:gizmo-mesh

Conversation

@HolonProduction

Copy link
Copy Markdown
Member

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 GizmoHelper3D called 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.

@Calinou Calinou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@HolonProduction

HolonProduction commented Nov 7, 2025

Copy link
Copy Markdown
Member Author

Do you think you could add a gizmo for SphereMesh too?

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 Gizmo3DHelper so only primitives that are in there are added. The frustum addition just kinda happened, but I don't want to add another primitive for this PR.

Edit: Just noticed, it's kinda hilarious that we have shared gizmo logic and it still requires this much code to actually integrate.

@akien-mga
akien-mga requested a review from Calinou December 2, 2025 09:24
@HolonProduction HolonProduction modified the milestones: 4.x, 4.7 Dec 5, 2025
@Repiteo
Repiteo merged commit b2198da into godotengine:master Jan 27, 2026
20 checks passed
@Repiteo

Repiteo commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

Thanks!

rivie13 pushed a commit to rivie13/Phoenix-Agentic-Engine that referenced this pull request Feb 16, 2026
Editor: Add some gizmo handles for `MeshInstance3D`
@HolonProduction
HolonProduction deleted the gizmo-mesh branch June 7, 2026 17:32
BendyLand pushed a commit to BendyLand/voltaire that referenced this pull request Aug 2, 2026
Editor: Add some gizmo handles for `MeshInstance3D`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants