Hi, I am trying to make a simple 3d character controller script, that allows me to walk the character around in 4 directions with cursor keys while facing the walking direction. This I managed to do already, but now I want to make it smoother, so that instead of snapping straight into the direction, the chracter would first smoothly turn and then start walking.
here's what I have so far:
http://pasila.lib.hel.fi/~basse/tmp/rottest.tar.gz
and http://www.pasteall.org/66666
this kind of works but somehow if I walk away from center of screen it starts looking into wrong direction.. how to fix this, where I am doing wrong?
.b