cancel
Showing results for 
Search instead for 
Did you mean: 

OneGrab Transformer for moving the OVR camera

WolffRuoff
Explorer

I'm trying to create a climbing game where you grab an object and when you move your hand the camera moves in the opposite direction (as though you were really climbing). The problem I'm facing though is that in the hierarchy for the OculusInteractionSampleRig, the hands are children of the OculusCameraRig so everytime the camera moves, it glitches out because the hands move as well. How would I code an ITransformer to achieve this climbing goal?

1 ACCEPTED SOLUTION

Accepted Solutions

WolffRuoff
Explorer

I figured it out! For the transformer, I move the OVR Camera rig by the distance between the hand and grab point, and then I reset the hand's position.

View solution in original post

1 REPLY 1

WolffRuoff
Explorer

I figured it out! For the transformer, I move the OVR Camera rig by the distance between the hand and grab point, and then I reset the hand's position.