AxisRotate (Method): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Anaminus Adding info |
>Anaminus more info |
||
Line 9: | Line 9: | ||
==Notes== | ==Notes== | ||
*Rotates the ''[[MouseDown| | *Rotates the group of ''[[MouseDown#Arguements|Parts]]'' by 90 degrees on ''axis'', around the center of the ''Parts''. | ||
*Only works after [[MouseDown]] has been called, but does not error otherwise. | *Only works after [[MouseDown]] has been called, but does not error otherwise. | ||
*Does not rotate unless the dragged objects have been moved with [[MouseMove]]. | *Does not rotate unless the dragged objects have been moved with [[MouseMove]]. | ||
Line 15: | Line 15: | ||
==See Also== | ==See Also== | ||
*[[Dragger]] | |||
*[[MouseDown]] | *[[MouseDown]] | ||
*[[MouseUp]] | *[[MouseUp]] |
Revision as of 14:24, 30 April 2011
![]() | |
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.