Skip to main content
New Participant
April 14, 2022
Solved

OneGrab Transformer for moving the OVR camera

  • April 14, 2022
  • 1 reply
  • 1924 views

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?

This topic has been closed for replies.
Best answer by WolffRuoff

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.

1 reply

WolffRuoffAuthorAnswer
New Participant
April 14, 2022

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.