The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar




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