PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. Instead, you should go to our new and improved documentation. You can also learn more about the future of documentation.
Collapse Sidebar

RotVelocity

BasePart

Vector3

The RotVelocity of a BasePart|part describes how its BasePart/Orientation is presently changing. In other words, this property describes how the fast part is rotating. The part only rotates if it is not anchored.

The unit of this property is radians per second.

Using this in conjunction with AlignOrientation allows for aligned parts to have matching RotVelocity and Orientation values.


Code Samples


Rotating a Part with RotVelocity

The script below creates a new BasePart|part and sets its Part/RotVelocity to *Vector3.new(0, 10, 0) every RunService/RenderStepped so that the part rotates in a circular motion.