Skip to main content
New Participant
December 18, 2014

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?
    This topic has been closed for replies.

    3 replies

    Inspiring
    December 18, 2014
    To test, put this at the end of OVRPlayerController UpdateMovement():

    if (Input.GetKey (KeyCode.R))
    OVRManager.display.RecenterPose();
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    dinges44Author
    New Participant
    December 19, 2014
    Thank you very much! That worked perfectly!
    Inspiring
    December 19, 2014
    Awesome news.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV