⚲
Class:
Entity
Lua
C++
Edit
Entity::SetAngularVelocity
This method sets the angular velocity of an entity.
Syntax
void
SetAngularVelocity
(const
Vec3
& omega, const bool global = true)
void
SetAngularVelocity
(const float x, const float y, const float z, const bool global = true)
Parameter
Description
omega, (x, y, z)
angular velocity to set, in degrees per second
global
if set to true angular velocity is in global space, otherwise local space is used
Copyright © 2006-2025 Leadwerks Software.
All rights reserved.
Leadwerks 4 Documentation