Forum Discussion
WolffRuoff
3 years agoExplorer
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
- WolffRuoffExplorer
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.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 months ago
- 6 months ago