Reset RotationGizmo

I would like to reset the rotationGizmo and its attachedNode to their original state. The gizmo can be reset but not the attachedNode’s child.

On the following playground if you pick the sphere the rotationGizmo will reset correctly to its initial state, and I can see in the DebugLayer that the attachedNode __gizmoTransformNode__ is indeed reset too… But not the plane that stay to its initial state, maybe I’m missing something ?

If I don’t use a TransformNode as a parent, it works as expected though

cc @Cedric

parameter for resetLocalMatrix need to be false. Otherwise, transform orientation is reset but applied to the children.


1 Like

Thank you @Cedric, I don’t know how…but I missed this one :sweat_smile:

1 Like