- Home /
Question by
Fenuva · Oct 30, 2012 at 06:50 PM ·
playerdirection3rd person controllerturning
How to make player only go in 4 directions?
Greetings, I would like to know how to make a 3rd person controller move in ONLY 4 directions (Right,Left,Backwards,Forewards)And not turn diagonally as I am making a game that wouldn't work that well if the player could move diagonally.
image.png
(312.1 kB)
Comment
Answer by XienDev · Oct 30, 2012 at 07:27 PM
player.transform.position += player.transform.forword; (-=) (right)
Your answer
