Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity reset rigidbody velocity

GetComponent<Rigidbody>().velocity = Vector3.zero;
GetComponent<Rigidbody>().angularVelocity = Vector3.zero;
 
PREVIOUS NEXT
Tagged: #unity #reset #rigidbody #velocity
ADD COMMENT
Topic
Name
6+4 =