Talk:Trigger gravity: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 8: Line 8:


3.) set the flags to the following:
3.) set the flags to the following:
[x] Ignore Pos
 
''[x] Ignore Pos
 
[x] Start On
[x] Start On
[x] Apply Force
[x] Apply Force
[] Apply Torque
[] Apply Torque
[] Orient Locally
[] Orient Locally
[x] Ignore Mass
 
[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.
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.

Revision as of 14:43, 7 August 2011

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