Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
AngularVelocity
Note
For an overview on creating, visualizing, and simulating mover constraints, including AngularVelocity, see mover constraints. Also see Roblox units to understand how Roblox units compare to metric units.
An AngularVelocity constraint applies torque on an assembly to maintain a constant angular velocity.
Note
The AngularVelocity constraint applies torque that attempts to maintain a constant angular velocity. If you want to control the amount of torque applied, use a Torque constraint. Alternatively, if you only need initial angular velocity, set the AssemblyAngularVelocity method directly on the assembly.
Relativity
Application of velocity can be controlled through the constraint's RelativeTo property. If set to World, the angular velocity vector is used as is. If set to Attachment1 and the constraint's 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.
<video controls src="https://prod.docsiteassets.roblox.com/assets/physics/constraints/AngularVelocity-RelativeTo-World.mp4" alt="Video showing relative behavior set to world space"></video> RelativeTo = World
<video controls src="https://prod.docsiteassets.roblox.com/assets/physics/constraints/AngularVelocity-RelativeTo-Attachment1.mp4" alt="Video showing relative behavior set to Attachment1"></video> RelativeTo = Attachment1
Note
Setting RelativeTo to Attachment1 also exposes the ReactionTorqueEnabled property.