element.getRotation: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
m (Vortrex moved page transformable.getRotation to element.getRotation: Transformable no longer exists)
No edit summary
Line 1: Line 1:
{{ScriptItem
{{ScriptItem
|endpoint = server
|endpoint = shared
|type = method
|type = method
|class = Element
|class = Element

Revision as of 19:37, 26 December 2021

getRotation

Signature: void getRotation(void)

Usage: fetch the 3D rotation for the element, in XYZ euler angles, in radians

Return

void

On failure: Vec3 Vec3(0.0,0.0,0.0)