mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-24 15:01:38 +00:00
2.4 KiB
2.4 KiB
| title | description |
|---|---|
| AngularVelocity | The AngularVelocity constraint applies torque on an assembly to maintain a constant angular velocity. |
An Class.AngularVelocity constraint applies torque on an assembly to maintain a constant angular velocity.
Relativity
Application of velocity can be controlled through the constraint's Class.AngularVelocity.RelativeTo|RelativeTo property. If set to Enum.ActuatorRelativeTo|World, the angular velocity vector is used as is. If set to Enum.ActuatorRelativeTo|Attachment1 and the constraint's Class.Constraint.Attachment1|Attachment1 property is set to another attachment, the angular velocity will be affected by that of the other attachment as seen by how the upper-left red part's velocity affects the attached blue part's velocity.