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
SetQuaternion
(Quat rotation, bool global = false)