Answers for "unity reset rigidbody velocity"

C#
2

unity reset rigidbody velocity

GetComponent<Rigidbody>().velocity = Vector3.zero;
GetComponent<Rigidbody>().angularVelocity = Vector3.zero;
Posted by: Guest on March-16-2020
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 reset rigidbody velocity"

C# Answers by Framework

Browse Popular Code Answers by Language