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 © 2006-2025 Leadwerks Software.
All rights reserved.
Leadwerks 4 Documentation