Env physimpact: Difference between revisions
Jump to navigation
Jump to search

m (Remove broken sprite) |
Gameplayer (talk | contribs) No edit summary |
||
Line 13: | Line 13: | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Magnitude | {{KV|Magnitude|intn=magnitude|integer|Strength of the impact.}} | ||
{{KV|Distance | {{KV|Distance|intn=distance|integer|How far to project the impact (if 0 uses a default value).}} | ||
{{KV|Point to Entity | {{KV|Point to Entity|intn=directionentityname|target_destination|If set, '''Distance''' and '''Pitch Yaw Roll''' settings are ignored and the direction and distance to the target entity will be used.}} | ||
{{KV BaseEntity|css=1}} | {{KV BaseEntity|css=1}} | ||
Revision as of 14:19, 30 August 2024


env_physimpact
is a point entity available in all Source games. It causes a physics impact on another entity. The direction of the impact is determined by the angles set.
Flags
- 1: No fall-off
- 2: Infinite Length
- 4: Ignore Mass
- 8: Ignore Surface Normal When Applying Force[Clarify]
Keyvalues
- Magnitude (magnitude) <integer>
- Strength of the impact.
- Distance (distance) <integer>
- How far to project the impact (if 0 uses a default value).
- Point to Entity (directionentityname) <targetname>
- If set, Distance and Pitch Yaw Roll settings are ignored and the direction and distance to the target entity will be used.
Inputs
- Impact
- Trigger the impact