PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

MaxAngle

TorsionSpringConstraint

float

This property determines the max angle, in degrees, of the TorsionSpringConstraint|TorsionSpringConstraint's limiting cone. The limiting cone is formed at the position of the constraint’s Constraint/Attachment0|Attachment0 around its secondary axis with an angle equal to MaxAngle. The default value is 45.0 degrees.

In the example below, when TorsionSpringConstraint/LimitEnabled|LimitEnabled is true for the constraint, the maximum angle between the primary axes of attachments can be limited to 10 degrees for instance as follows:

torsionSpring.MaxAngle = 10