Answers for "unity how to set rigidbody velocity"

C#
4

unity how to set rigidbody velocity

Vector3 velocity = new Vector3(10f/*x*/, 10f/*y*/, 10f/*z*/);
GetComponent<Rigidbody>().velocity = velocity;
Posted by: Guest on December-19-2019

Code answers related to "unity how to set rigidbody velocity"

C# Answers by Framework

Browse Popular Code Answers by Language