Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Player Movement Help

$
0
0
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.
Code (CSharp):
  1. using UnityEngine;...
Player Movement Help

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>