|
Hello everyone ;) I have this script:
Simple yet quiet effectivt... The problem is that I want my character to turn, wich I have done using The problem is that, my character moves along the "World axes" no matter how he turns he will still move in the world z-axes if I press "w" If he faces backwards ind a press w(forward key) he still moves along the world z direction. So my question is is there a way to get my charcter move along his "Local axes" instead of the "World/global axes"
(comments are locked)
|
|
First: Don't increment or decrement eulerAngles. If they are out of bounds [0..360] you get an error. Use Transform.Rotate instead. And for the position use localPosition or Translate Thank you got it to work now. Thank you...again ;)
Feb 26 '11 at 01:30 PM
OrangeLightning
(comments are locked)
|
