Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity get velocity at point

Rigidbody rb = gameObject.GetComponent<Rigidbody>();
//Returns the velocity at local position 'pos'
rb.GetPointVelocity(transform.TransformPoint(pos));
 
PREVIOUS NEXT
Tagged: #unity #velocity #point
ADD COMMENT
Topic
Name
3+1 =