Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity C# add torque to rigidbody

Rigidbody rb;

void Update()
{
  rb.AddTorque(direction);
}
 
PREVIOUS NEXT
Tagged: #unity #add #torque #rigidbody
ADD COMMENT
Topic
Name
9+3 =