Env physimpact: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
Bug:Does not function in Team Fortress 2.  [todo tested in ?]
		
	
No edit summary  | 
				 (updates)  | 
				||
| Line 1: | Line 1: | ||
{{base point|env_physimpact|sprite=env_physexplosion}} It causes a physics impact on another entity.  | {{lang|Env physimpact}}  | ||
{{base point|env_physimpact|sprite=env_physexplosion}} It causes a physics impact on another entity. The direction of the impact is determined by the angles set.  | |||
{{bug|Does not function in Team Fortress 2.}}  | {{bug|Does not function in Team Fortress 2.}}  | ||
{{code class|CPhysImpact|physobj.cpp}}  | |||
{{  | |||
{{clr}}  | {{clr}}  | ||
==   | ==Flags==  | ||
*1: No fall-off  | |||
*2: Infinite Length  | |||
*4: Ignore Mass  | |||
*8: Ignore Surface Normal When Applying Force{{clarify}}  | |||
{{  | |||
==   | ==Keyvalues==  | ||
{{KV|Magnitude (magnitude)|integer|Strength of the impact.}}  | |||
{{KV|Distance (distance)|integer|How far to project the impact (if 0 uses a default value).}}  | |||
{{KV|Point to Entity (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}}  | |||
== Inputs ==  | ==Inputs==  | ||
{{IO|Impact|Trigger the impact}}  | {{IO|Impact|Trigger the impact}}  | ||
{{I   | {{I BaseEntity}}  | ||
== Outputs ==  | ==Outputs==  | ||
{{O   | {{O BaseEntity|l4d=1}}  | ||
Revision as of 09:01, 29 September 2018
Template:Base point 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
- Distance (distance) ([todo internal name (i)]) <integer>
 - How far to project the impact (if 0 uses a default value).
 
- Point to Entity (directionentityname) ([todo internal name (i)]) <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