Answers for "rigidbody velocity magnitude 0"

C#
0

rigidbody velocity

rb.velocity = new Vector3(0, 10, 0);
Posted by: Guest on February-09-2020
0

rigidbody.velocity.magnitude

//speed of rigidbody in m/s
float speed = rigidbody.velocity.magnitude;
Posted by: Guest on December-23-2020

C# Answers by Framework

Browse Popular Code Answers by Language