Rotating child of held object using hand tracking
Background: I am attempting to create a rubiks cube that is interacteable with the quest's hand tracking
The issue i am having right now is that the OneGrabRotateTransformer that constrains an to only a rotation in one axis does not seem to work when the object is a child to an other object that is being moved.
The setup i have right now is: A cube with a grabbable and handinteractor. Another cube is connected to this cube as a child, with a grabbable, handinteractor, and a OneGrabRotateTransformer that is plugged in to the grabbables "one grab transformer" input.
Grabbing the child cube and rotating it works exacly as expected if the parent cube is not being held. But if i try to rotate the child cube while holding the parent cube with my other hand, the rotation axis goes absolutely bananas, and will rotate in all sorts of random directions.
Has anyone implemented this type of interaction before, or have any input on what might be going wrong? There is frustratingly little documentation about this (meaning, absolutely zero mentions about OneGrabRotateTransformer anywhere at all), so I am a bit stumped on how to continue with this for now
