rigidbody.velocity.magnitude unity code example
Example: rigidbody.velocity.magnitude
//speed of rigidbody in m/s
float speed = rigidbody.velocity.magnitude;
//speed of rigidbody in m/s
float speed = rigidbody.velocity.magnitude;