⚲
Class:
Entity
Lua
C++
Edit
Entity:SetAngularVelocity
This method sets the angular velocity of an entity.
Syntax
SetAngularVelocity
(
Vec3
omega, boolean global = true)
SetAngularVelocity
(number x, number y, number z, boolean 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 © 2024 Ultra Software.
All rights reserved.