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