Forum Discussion
Giulcoo
6 years agoHonored Guest
(Unity) OVRPlayerController does not move with the OVRCameraRig
I have a problem and can't find a solution anywhere. The problem is that if I move the headset in the game in Unity, the OVRPlayerController does not move. So now if i walk into objects, sometimes I can't move near the object or sometimes I walk into the object...
1 Reply
Replies have been turned off for this discussion
- rh_galaxyHeroic ExplorerWhen you move the headset with your head, only the camera in OVRCameraRig will move. Likewise if you move the player with code in unity, the player holding the camera will move.
There are two steps of movement here, the one the head does and the one you do to the player in code. They need to coexist and you may need to push the player backwards if the head moves forward. Many have done it this way.
Also the OVRPlayerController is not necessary if you have your own player mechanics it can be a container holding the OVRCameraRig instead.
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
- 4 years ago