Hi, Playmakers!
I have a door on a Hinge Joint that has limited rotation (0 to 90).
I want to grab the handle of the door, and have it rotate on the Hinge to follow the controller. When the handle is released, I want the door to close itself based on the Spring settings in the Hinge Joint.
I've got a trigger volume that tests whether the handle is 'gripped', which works.
However, I have not been able to find a way to make the door rotate to follow the controller while respecting the limits of the hinge.
I tried a 'LookAt', which works in a way, but it does not respect the Hinge (meaning it will rotate past the limits set in the Hinge Joint).
I'm on the Rift currently, but I want to make something that will work with Vive as well.
Any suggestions?
Thanks, and I'll reply with results from any suggestions!