AxisRotate (Method)

From Legacy Roblox Wiki
(Redirected from AxisRotate)
Jump to navigationJump to search
AxisRotate( Axis axis )
Returns nil
Description: Rotates the currently dragged part by 90 degrees on axis.
Member of: Dragger


Notes

  • Rotates the group of Parts by 90 degrees on axis, around the center of the Parts.
  • Only works after MouseDown has been called, but does not error otherwise.
  • Does not rotate unless the dragged objects have been moved with MouseMove.
  • Generally used with Mouse.KeyDown. The "r" key might specify the Y axis, while the "t" key might specify the X or Z axis.

See Also