Skip to main content
New Participant
July 11, 2017

Rotation and Movement

Hello :smile:

I am attempting to make a player controller that will allow a player to move around a scene with the Left Touch Thumbstick and rotate their forward vector with the Right. I got movement to work and rotation appears to work, but when trying to shoot objects from the hands, they aren't pointing in the direction they should be. What am I doing wrong? I searched to see if anyone else had this problem and I see stuff that is similar but not exactly what I'm doing. 

Player Movement: https://pastebin.com/nyWLucQs
Player Rotation: https://pastebin.com/9y5P3FCs
    This topic has been closed for replies.

    2 replies

    New Participant
    July 11, 2017
    BTW: My OVRCameraRig is childed to a gameObject that has those scripts attached. Shouldn't that allow me to rotate/move in world space?
    Inspiring
    July 11, 2017
    Moving to Unity dev section.
    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