I am making a project for Oculus Quest, and I have 2 things – one for me (1st person) and a second for a lever on a machine. What I want to do is use the controller to grab the lever. However, when I release the hand, it floats off into space and the attachment between the lever and machine stretches really far. I’d prefer that the lever stay in same place, attached to the machine. The machine object is a box, with a lever sticking out.
Approach:
- Add CustomHandLeft / Right to my character so I have hands in the game that can grab things, with OVRGrabber
- Add OVRGrabbable to lever
- Add Capsule Collider to lever (roughly same size)
- Add Rigidbody to lever, and unticked Use Gravity
I hope this is some simple setting or setup I’ve missed.