Garry's Mod Wiki

physenv.SetGravity

  physenv.SetGravity( Vector gravAccel )

Description

Sets the gravitational acceleration used for physics objects.

Does not work on players.

Arguments

1 Vector gravAccel
The new gravity in source_unit/s^2.