there's my whole script so far, and i have seen other for controlling rigidbodys, but i dont what to have a script i cant understand so im making my own, i don't want to use add Force, but if i dont then there is no diagonal its either straight or sideways. how do i make a dagonal?
(comments are locked)
|
|
Accumulate a 'delta' in a Vector3, then apply it with MovePosition at the end Could you help me understand that better, i am kind of a noob in scripting, also if it is a Vector3, wouldn't it be the world-wide x,y,z coordinates, they need to be local.
Jun 12 '11 at 06:44 PM
Ninjaoboy
(comments are locked)
|

It's a lot easier if you use GetAxis instead of a bunch of keys.