Just Cause 2: Multiplayer
Website
Home
/
Lua
/
Shared
/
Transform2
/
Functions
/
Rotate
Returns
Transform2
Prototype
Transform2:Rotate(number
rotation
)
Description
Rotates the transform by the specified angle in radians.
Additional Notes
This operation
does not
yield a new transform object, the returned object and the subject are the same.
See Also
Wikipedia article on rotation