Obi Official Forum
Path editor gizmo's appear very small - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html)
+--- Thread: Path editor gizmo's appear very small (/thread-4424.html)



Path editor gizmo's appear very small - MisterToot - 10-12-2024

Helloo, this occurred quite a while back for me and I've been able to work around it but I thought I might as well see if it can be fixed!

as you can see (though they are quite small) the handles and particle sphere gizmos that appear while in the rope blueprint path editor were at some point shrunk by me... and I'm not sure how to unshrink them as the regular 3D gizmo size slider doesn't seem to affect them. 

Thanks!


RE: Path editor gizmo's appear very small - josemendez - 10-12-2024

(10-12-2024, 07:36 AM)MisterToot Wrote: Helloo, this occurred quite a while back for me and I've been able to work around it but I thought I might as well see if it can be fixed!

as you can see (though they are quite small) the handles and particle sphere gizmos that appear while in the rope blueprint path editor were at some point shrunk by me... and I'm not sure how to unshrink them as the regular 3D gizmo size slider doesn't seem to affect them. 

Thanks!

Hi!

These are handles instead of gizmos, hence unaffected by the 3D gizmo slider. We use Unity's built-in Handles.PositionHandle function to create them, their size is automatically calculated by Unity and not possible to change programmatically. You can check the code used to draw them in Obi/Assets/Obi/Editor/RopeAndRod/ObiPathEditor.cs

The only thing that comes to mind is the rope's transform scale being other than 1, this scale handle rendering via Handles.matrix. - which is not generally a sensible thing to do, as deformable objects should not generally be scaled.

kind regards