Class: Entity
Lua
C++
Edit

Entity::GetRotation

This method retrieves the entity's rotation.

Syntax

Parameter Description
global if set to true the global rotation is returned, otherwise local space is used

Returns

Returns this entity's rotation as a Euler angle, in local or global space.

Copyright © 2024 Ultra Software.
All rights reserved.