PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

MaxTorque

TorsionSpringConstraint

float

This property determines the maximum torque supported by the spring. The value defaults to 1000.0.

What is torque

Torque is equivalent to a force applied over a distance (T = force * distance). The same way that applying a force translates into pulling/pushing an object, applying a torque results in rotating the object.

Setting the MaxTorque

In the example below, you can change the maximum torque provided by the torsion spring as follows:

torsionSpring.MaxTorque = 300