Env physimpact: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (doxygen)
Line 6: Line 6:
==Availability==
==Availability==
{{in game|point}} {{game-base}}
{{in game|point}} {{game-base}}
{{in code|class=CPhysImpact|file=physobj.cpp}}
{{in code|class=class_c_phys_impact.html CPhysImpact|file=physobj_8cpp-source.html physobj.cpp}}


==Keyvalues==
==Keyvalues==

Revision as of 06:39, 2 August 2006

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