Hi. I am having a problem moving my player (a ball for this example). I wan't my character to move in the direction he is facing.
More specifically I want
"Up" arrow = Move the way the player is facing.
"Right" arrow = Rotate the player 10° clockwise per second.
"Left" arrow = Rotate the player 10° counter-clockwise per second.
"Down" arrow = Move backwards, but face the same direction.
(The above is assuming only the XZ plane.)
This is the best I could do.
Player Movement Help
More specifically I want
"Up" arrow = Move the way the player is facing.
"Right" arrow = Rotate the player 10° clockwise per second.
"Left" arrow = Rotate the player 10° counter-clockwise per second.
"Down" arrow = Move backwards, but face the same direction.
(The above is assuming only the XZ plane.)
This is the best I could do.
Code (CSharp):
- using UnityEngine;...