GetQuaternion
This function gets the quaternion rotation of an entity. A quaternion is a special rotation value that is more accurate than Euler angles in some situations.
Syntax
- Quat GetQuaternion(bool global = false)
Parameters
- global: if set to true the global rotation is returned, otherwise the local rotation is returned.
Returns
Returns the entity quaternion rotation.