cancel
Showing results for 
Search instead for 
Did you mean: 

Rotation and Movement

SolarFalconGame
Honored Guest
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
2 REPLIES 2

SolarFalconGame
Honored Guest
BTW: My OVRCameraRig is childed to a gameObject that has those scripts attached. Shouldn't that allow me to rotate/move in world space?

cybereality
Grand Champion
Moving to Unity dev section.