Class: Entity
Lua
C++
Edit

Entity:Turn

This method turns an entity. This will produce smooth rotation free from Gimbal lock problems that can occur when rotations are manually specified.

Syntax

Parameter Description
rotation, (pitch, yaw, roll) rotation to apply
global if set to true global space is used, otherwise local space is used
Copyright © 2024 Ultra Software.
All rights reserved.