env_physimpact

From Source Entities
Jump to navigation Jump to search

Code classes:

Env physexplosion.png

env_physimpact is a point entity present in all Source games. It causes a physics impact on another entity.

Flags[edit | edit source]

  • 1: No fall-off (Force does not weaken with distance.)
  • 2: Infinite Length
  • 4: Ignore Mass
  • 8: Ignore Surface Normal When Applying Force - Gives more predictable movement in some circumstances.

Keyvalues[edit | edit source]

Pitch Yaw Roll (Y Z X) (angles) <angle>
Direction to send force in.
Magnitude (magnitude) <integer>
Strength of the impact.
Distance (distance) <integer>
How far to project the impact (if 0, defaults to 256).
Point to Entity (directionentityname) <target_destination>
If set, the direction of the force will always point from the env_physimpact to the specified entity.

Inputs[edit | edit source]

Impact
Triggers the impact.