- Home /
Question by
math_brt · May 12, 2014 at 08:39 PM ·
vector3velocitycamera-movementoculus rift
Go forward with a kind of oculus rift
Hello, I am making a game that working as an oculus rift, I already managed to make the gyroscope work, but I cannot seem to keep moving along the camera. I want the camera moving forward where I'm looking. I already tried to add the velocity function, but my camera doesn't move. please help me :)
Comment
Answer by screenname_taken · May 13, 2014 at 09:34 AM
For velocity to work you need a rigibody attached. Try using transform.position=Vector3.forward*Time.deltatime*speed