UniversalConstraint¶
Ensures two axes on two bodies remain perpendicular.
Not implemented yet
Not implemented.
Description¶
A UniversalConstraint ensures two axes on two bodies remain perpendicular. Contextually, this constraint is more restrictive than a BallSocketConstraint but less restrictive than a HingeConstraint by one degree of freedom.
Example applications of this constraint include transmitting power between the transmission and drive shafts of cars, robotics, and more.
When configuring this constraint, it may be helpful to study Roblox Units to understand how Roblox units compare to metric units.
Limits¶
Enabling the LimitsEnabled property exposes the MaxAngle limit to restrict tilt within a cone, as well as Restitution which defines the elasticity of the attachments when they reach the limit.
Inheritance¶
Object → Instance → Constraint → UniversalConstraint
Properties¶
| Member | Signature | Summary |
|---|---|---|
LimitsEnabled |
LimitsEnabled: bool |
Determines whether the angular motion of attachments' primary axes is limited. |
MaxAngle |
MaxAngle: float |
The max angle, in degrees, of the constraint's limiting cone. |
Radius |
Radius: float |
The constraint's visualization radius. |
Restitution |
Restitution: float |
The restitution coefficient of the cone constraint. |
Roblox reference: UniversalConstraint
Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.