phys_ragdollmagnet

From Source Entities
Jump to navigation Jump to search

Code classes:

Info target.png

phys_ragdollmagnet is a point entity present in all Source games. It applies force to ragdolls left by dead CBaseCombatCharacters at the moment they die. Ragdolls get pushed towards or away from the entity. Does not work in Csgo-small.png.

Flags[edit | edit source]

  • 2: Bar Magnet (use axis helper) - Instead of pushing to the entity origin, push to the nearest point on a line between the entity origin and Bar Magnet Axis.

Keyvalues[edit | edit source]

Effective Radius (radius) <float>
Radius in which ragdolls are affected around this entity's origin/the line.
Force (force) <float>
Force to apply, in kilograms per unit per second. A 10kg ragdoll will get launched farther than a 100kg one.
Entity to affect (target) <target_destination>
If specified, only affect entities with this targetname.
Bar Magnet Axis (axis) <vecline>
Other end of the bar. See Bar Magnet.
Start Disabled (StartDisabled) <boolean>
Stay inactive until Enabled.

Inputs[edit | edit source]

Enable
Makes the entity active.
Disable
Makes the entity inactive.

See Also[edit | edit source]