how to implement gizmo manipulation

Hi. For the life of me I am unable to find any good information on how to use custom gizmo’s to manipulate an object. Basically I have an object with x number of gizmo’s being displayed, what I would like to to do is be able to select a gizmo and move it around to manipulate my object based on some custom behavior. In this particular case I am drawing a catmull rom spline and I want to manipulate its shape by dragging the gizmos around.

Thanks!

This is a case of mistaken terminology. You don’t want “Gizmos”. Gizmos are just a tab or hot-spot for selecting an object, they’re not meant to be interactive.

What you want are Handles and Unity has several classes for rendering/creating custom handles for your objects, see the documentation for further info:

1: http://unity3d.com/support/documentation/ScriptReference/Handles.html ,What you went aren’t “Gizmos”. Gizmos are just a tab for selecting an object, they’re not meant to be interactive.

What you want are Handles and Unity has several classes for rendering/creating custom handles for your objects, see the documentation for further info: