RBX.lua.BodyAngularVelocity (Object): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
no edit summary
>ArceusInator
No edit summary
>NXTBoy
No edit summary
Line 2: Line 2:
The BodyAngularVelocty object applies angular force on an object, allowing you to rotate it in a specific direction. The force does not have a goal, meaning that it is constantly applying force.
The BodyAngularVelocty object applies angular force on an object, allowing you to rotate it in a specific direction. The force does not have a goal, meaning that it is constantly applying force.


The angularvelocity property controls rotation.  The effect of the property on a part is demonstrated on this diagram.<br />
The angularvelocity property controls rotation. Its direction is the axis which the part rotates around, and the magnitude is the speed in radians/s at which it does it. For example, an {{`|angularvelocity}} of {{`|Vector3.new(0, math.rad(360), 0)}} makes the part rotate around the Y axis once per second.
 
  The effect of the property on a part is demonstrated on this diagram.<br />
[[Image:Angularvelocitydiagram.png]]}}
[[Image:Angularvelocitydiagram.png]]}}


[[Category:ROBLOX Lua Objects]]
[[Category:ROBLOX Lua Objects]]
Anonymous user

Navigation menu