#Is there a way to use the "Collision box size gizmo" to my own script?

1 messages · Page 1 of 1 (latest)

steady verge
#

im making a tool where i need to change the size of boxes on the editor, is there a way to access the box resize resize gizmo (pictured) from my script and update values accordingly? or make something similar?

long inlet
#

Figured I’d let you know ahead of time

#

Godot doesn’t let scripts grab the built-in collision-box gizmo; if you want draggable handles, make your own via EditorNode3DGizmoPlugin (or fork an existing gizmo demo) and map its handles to your node’s size.

#

(YouTube, 15 min) walks through making an editor plugin, registering it, adding handles, and wiring undo/redo, exactly the groundwork you need before adding resize handles.