I want to design custom gizmo handler for transform controls.
Is that possible
I want to design custom gizmo handler for transform controls.
Is that possible
Yes. But you have to overwrite the default gizmo definitions of TransformControls
. Fortunately, these definitions are some sort of a separate component which makes it easier to study what’s happening in the controls. The following code in TransformControls
is relevant in this context:
Is it possible to extend and overwrite this class instead of change in module?
I guess it depends on what part of the module you want to modify. If you want to rewrite a public method, extending should be no problem.