Forum Discussion
dinges44
11 years agoHonored Guest
Problem with World Orientation
I'm having a problem that I haven't been able to find out why it occurs.
I want my player to face the whole room when the simulation is started. So
when the player is facing north when the simulation starts, the room will be positioned
that way, and if the player faces west when the simulation starts, the room will
be positioned west. However, when I start the simulation facing west, the room will
still be positioned north, so the world is kind of fixed in a set position. I have made a
diagram of how the situation is and how it should be.
http://i.imgur.com/XT3kwwC.png
How can I make sure that the world will be in the same direction as the player is facing
when I start the scene?
I want my player to face the whole room when the simulation is started. So
when the player is facing north when the simulation starts, the room will be positioned
that way, and if the player faces west when the simulation starts, the room will
be positioned west. However, when I start the simulation facing west, the room will
still be positioned north, so the world is kind of fixed in a set position. I have made a
diagram of how the situation is and how it should be.
http://i.imgur.com/XT3kwwC.png
How can I make sure that the world will be in the same direction as the player is facing
when I start the scene?
3 Replies
Replies have been turned off for this discussion
- cyberealityGrand ChampionTo test, put this at the end of OVRPlayerController UpdateMovement():
if (Input.GetKey (KeyCode.R))
OVRManager.display.RecenterPose(); - dinges44Honored GuestThank you very much! That worked perfectly!
- cyberealityGrand ChampionAwesome news.
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
- 6 months ago
- 2 months ago
- 8 months ago
- 7 days ago