Forum Discussion
Mr_GoodKat
8 years agoProtege
Unity - OVRPlayerController Issue
Hi there! I'm new to Unity and VR development and having an issue with the OVRPlayerController. I have a door set up and if I'm not in the center of my play space, I snag the edge of the door frame and can't pass through. Also, if I'm at the very edge of my play space, and shift into a wall I got through it. Anyone have a good solution for this?
Thank you!
3 Replies
Replies have been turned off for this discussion
- Mr_GoodKatProtegeWhats I think is happening is that the OVRCameraRig is moving with the HMD, but player controller (and all it's collisions) stay still. I've tried setting the position of the PlayerController to the localposition of the centerEyeAnchor in the CameraRig, and that gets the playercontroller following the HMD but causes other issues. Also doesn't seem efficient. This problem has been asked multiple times in the past couple of years and all the Questions are still unanswered.
- Mr_GoodKatProtegeThanks for your quick response! I was actually able to solve my positional problem by setting the charactercontroller component's center x and z to the centereyeanchors x and y position. Although now I notice that the rotation is still off. When I rotate left or right I get a merry-go-round effect, like it's pivoting around the play space. Any thoughts?
- AnonymousStill having this issue too as of 2019.3.0f6. Any resolution yet?
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