Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Dingenonma's avatar
Dingenonma
Expert Protege
6 months ago

Gravity for VR player in real world

hola! I think there OVRplayercontroller would be the way, but when I walk around (moving in real space) with my vr headset, and reach a border of a mesh, I don’t fall down, like OVRplayercontroller doesn’t really follow me while walking in realworld.

Any tips to make this work?

Thanks a lot in advance!

4 Replies

Replies have been turned off for this discussion
  • Anyone can help with this? I swear I have checked all posts, tutorials and AI resources and suggestions… I just don’t find a simple way to implement this.

  • What does not fall down? The player in a game (in your game)?

    Does the player have a ridgidbody? 

    I am not sure what you are asking, or what the problem is.

     

  • I'm not familiar with OVRPlayerController - I know it's an older part of Meta's SDK from the old Oculus days.

    If you haven't tried it yet, you might have better luck putting an instance of Unity's CharacterController script on a game object, and attaching your Meta camera rig (OVRCameraRig? BuildingBlock?) under it.

    Happy to give you more details if you decide to try it out, and run into further questions.

  • Hello there,

    What are you expecting to fall down, the player model in app? Any information you can provide me will help get a better idea of how to help you with this issue. 

    Looking forward to your response!