Env physimpact: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (doxygen)
mNo edit summary
Line 1: Line 1:
{{wrongtitle|title=env_physimpact}}
{{wrongtitle|title=env_physimpact}}
{{base_point}}


==Entity Description==
==Entity Description==
Line 30: Line 31:
*'''Impact'''
*'''Impact'''
:Trigger the impact
:Trigger the impact
[[Category:Entities]]

Revision as of 10:11, 12 April 2008

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