Documentation
›
API Reference
›
Object
›
Entity
SetQuaternion
Lua
C++
This function sets the quaternion rotation of an entity. A quaternion is a special rotation value that is more accurate than Euler angles in some situations.
Syntax
void
SetQuaternion
(const Quat& rotation, const bool global = false)