Env physimpact: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 30: Line 30:
*'''Impact'''
*'''Impact'''
:Trigger the impact
:Trigger the impact
[[Category:Entities]]

Revision as of 23:57, 19 November 2005

Template:Wrongtitle

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