Answers for "unity get velocity of gameobject"

C#
4

unity get velocity of gameobject

Rigidbody rb = GetComponent<Rigidbody>();
rb.velocity; // Velocity of gameObject (Vector3)
Posted by: Guest on June-08-2020

Code answers related to "unity get velocity of gameobject"

C# Answers by Framework

Browse Popular Code Answers by Language