- Home /
Question by
PoisonSkull · May 11, 2014 at 06:45 PM ·
cameramovement
How do you move the character based on the camera.
For example, if the camera is looking in the opposite direction that the player is facing, the player should move in the direction the camera is facing. Note, the character is a ball, and I have used the code Camera.main.forward * # before, and I'm using the mouse orbit script. The reason why I don't want that code because it tends to mess with the ball's speed.
Comment
Your answer