Definition
SetPhysicsGravity(float x, float y, float z)
Description
This function sets the X, Y and Z components of physics gravity.
Parameter
x, y, z
Specify the X, Y and Z components of physics gravity.
Example
function Init() SetPhysicsGravity(-1.3, -6.8, -1.1) end function Update() end
This scripts sets the X, Y and Z components of physics gravity to -1.3, -6.8 and -1.1, respectively.
SetPhysicsGravity