Env physimpact

From Valve Developer Community
Revision as of 10:11, 12 April 2008 by Beeswax (talk | contribs)
Jump to navigation Jump to search

Template:Wrongtitle Template:Base point

Entity Description

An entity that will cause a physics impact on another entity.

Availability

Template:In game Template:Game-base Template:In code

Keyvalues

<angle> Direction to project the impact.
  • magnitude
<float> Strength of the impact.
  • distance
<float> How far to project the impact (if 0 uses a default value).
  • directionentityname
<target_destination> If set, 'Distance' and Angle settings are ignored and the direction and distance to the target entity will be used.

Flags

  • 1 : No fall-off
  • 2 : Infinite Length
  • 4 : Ignore Mass

Inputs

Trigger the impact