This method retrieves the entity rotation as a quaternion.
Parameter | Description |
---|---|
global | if set to false, the rotation relative to the parent is returned, otherwise the rotation in world space is returned |
Returns the entity rotation as a quaternion.