How can you check when something has stopped moving?
If you are using a rigidbody, you can use the "rigidbody.velocity"
documentation link: http://unity3d.com/support/documentation/ScriptReference/Rigidbody-velocity.html
How can you check when something has stopped moving?
If you are using a rigidbody, you can use the "rigidbody.velocity"
documentation link: http://unity3d.com/support/documentation/ScriptReference/Rigidbody-velocity.html