Gravity

Araluex

L1: Registered
Jun 4, 2015
14
0
Hi everyone,

I have a trigger_gravity with the gravity set to 0.2. However, even when a player leaves the area of the trigger_gravity brush, they still have 0.2 gravity.

How do I make it so that the player only has 0.2 gravity within the brush, and as soon as they leave it they return to normal gravity.

Thanks!
 

Vel0city

func_fish
aa
Dec 6, 2014
1,947
1,589
Gravity settings apply once you hit the trigger but it doesn't reset to normal when you leave the trigger, even with OnEndTouch. Surround the trigger with the lower gravity by a trigger with normal gravity to reset players back to normal gravity.

TopHattWaffle did a video on manipulating gravity and player speed once, here.
 
Oct 6, 2008
1,947
445
I have this set up on my lost horizon map.

1. 1 brush for the low gravity (your .2) area (s) - when the player hits it they are effected by the low gravity.
2. 1 brush next to it with gravity set to normal (1) - soon as they leave the low gravity, gravity is returned to normal
3. 1 brush in spawn with normal (1) gravity so that is players are killed in the low grav (since it continues after death) are returned back to normal gravity when they respwan.

Note - re flags - they don't seem to work all that well < but I need to experiment with them more - I wanted to make my rockets curve < however you might be able to do this by using a push entity that effects particles only and not the players
 
Last edited: