Class: Entity
Lua
C++
Edit

Entity::GetQuaternion

This method retrieves the entity rotation as a quaternion.

Syntax

Parameter Description
global if set to false, the rotation relative to the parent is returned, otherwise the rotation in world space is returned

Returns

Returns the entity rotation as a quaternion.

Copyright © 2024 Ultra Software.
All rights reserved.