trigger_gravity

From Source Entities
Jump to navigation Jump to search

Code classes:

Trigger.png

trigger_gravity is a brush entity present in all Source games. It gives a custom gravity setting to players (and players only, despite the flags).

Note: In all games except P2.pngCsgo-small.png, players will retain their set gravity even after leaving the trigger, or even dying. The only way to reset their gravity is by using another trigger_gravity. In P2.pngCsgo-small.png, player gravity is set back to 1.0 when they leave the trigger.

Bug: Valve forgot to set up filter logic for this entity. Filters will not work.

Keyvalues[edit | edit source]

Gravity (gravity) <float>
What to change the gravity to. Multiplier of regular gravity. Bug: Cannot be set to 0.0.

See Also[edit | edit source]