⚲
Class:
Entity
Lua
C++
Edit
Entity::SetGravity
This method can be used to set a custom gravity value for this entity.
Syntax
void
SetGravity
(float x, float y, float z)
void
SetGravity
(float y)
Parameter
Description
x, y, z
gravity vector to set
Copyright © 2006-2025 Leadwerks Software.
All rights reserved.
Leadwerks 4 Documentation