how to get velocity of a rigid body code example Example: rigidbody velocity rb.velocity = new Vector3(0, 10, 0);