element.getRotation

From GTA Connected
Revision as of 10:51, 28 August 2023 by Mex (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

getRotation

Signature: void getRotation(void)

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

Note: This function is depreciated, please use the element.rotation property instead.

Return

void

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