Skip to main content
Skip to main content

getRotation

getRotation

Description

Get local space rotation of a transform object (relative to its parent)

Definition

getRotation(entityId transformId)

Arguments

entityIdtransformIdtransformId

Return Values

floatxlocal x rotation in radians
floatylocal y rotation in radians
floatzlocal z rotation in radians