⚲
Class:
World
Lua
C++
Edit
World::SetGravity
The methods sets the gravitational vector applied uniformly across the world.
Syntax
void
SetGravity
(const
Vec3
& gravity)
void
SetGravity
(const float x, const float y, const float z)
Parameter
Description
gravity, (x, y, z)
gravitional force to set, in meters per second squared
Copyright © 2024 Ultra Software.
All rights reserved.