Env physimpact: Difference between revisions
Jump to navigation
Jump to search
(bot-assisted cleanup (also testing new version)) |
(→Availability: added availability section) |
||
Line 5: | Line 5: | ||
==Availability== | ==Availability== | ||
{{in game|point}} | {{in game|point}} {{game-base}} | ||
{{in code|class= | {{in code|class=CPhysImpact|file=physobj.cpp}} | ||
==Keyvalues== | ==Keyvalues== |
Revision as of 18:11, 8 October 2005
Entity Description
An entity that will cause a physics impact on another entity.
Availability
Template:In game Template:Game-base Template:In code
Keyvalues
- <string> Direction to project the impact.
- magnitude
- <integer> Strength of the impact.
- distance
- <integer> 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