Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
WolffRuoff's avatar
WolffRuoff
Explorer
3 years ago
Solved

OneGrab Transformer for moving the OVR camera

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?

  • 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

Replies have been turned off for this discussion
  • 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.