|
Hi. I am working on basic rigidbody player movement. I have tried this to move the player forward, but if I walk off a cliff I just walk on air while I am moving, but the velocity is local: This does make the player fall off a cliff but it isn't local. So, how do I convert this to using local XYZ: Thanks.
(comments are locked)
|
|
http://docs.unity3d.com/Documentation/ScriptReference/Rigidbody-velocity.html
You should use physical forces instead to get the rigidbody moving. http://docs.unity3d.com/Documentation/ScriptReference/Rigidbody.AddForce.html
(comments are locked)
|
