I would like to have an object that has a fixed point and rotates based on controller movement in VR.
Here is what I want to implement
- The user grabs an object.
- The user pulls/pushes the object in any direction while grabbing.
- Based on the controller movement(pushing/pulling) the object rotates like a lever.
- Constraint: The object must never leave its position, it must stay fixed.
An illustration is shown in this video -> Rotation with fixed point
I am trying to implement this using Unity and VRTK.