trigger_gravity
Jump to navigation
Jump to search
Code classes:
CTriggerGravity
CBaseTrigger
(triggers)CBaseToggle
CBaseEntity
(all ents)
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 , 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 , 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.