Talk:Trigger gravity

From Valve Developer Community
Revision as of 14:42, 7 August 2011 by Pandaboy (talk | contribs)
Jump to navigation Jump to search

How to change gravity of physics objects

Although trigger_gravity only works for players, there is another way to change the gravity of objects.

1.) Create a phys_thruster and place it anywhere in the map and assign it's Target Name to whichever physics object you want to change the gravity of.

2.) Set it's direction to "up" for lower gravity, or "down" for more gravity.

3.) set the flags to the following: [x] Ignore Pos [x] Start On [x] Apply Force [] Apply Torque [] Orient Locally [x] Ignore Mass

4.) Change Force depending on the kind of gravity change you want. Example: setting the direction to "up" and "Force" to 800 will make the object float with exactly no gravity at all.

//Pandaboy