env_physexplosion
![Env physexplosion.png](/w/images/7/7f/Env_physexplosion.png)
env_physexplosion
is a point entity available in all Source games.
It applies a physical force to physics objects within its radius, anything from a gentle nudge to a big explosion, depending on its magnitude. The explosion itself is not visible; for visible explosions, use env_explosion
.
![Tip.png](/w/images/thumb/4/45/Tip.png/9px-Tip.png)
Contents
Flags
- [
1
] : No Damage
Only Force (Players are not ever damaged by the explosion (regardless of this flag), only objects.)
- [
2
] : Push players
- [
4
] : Push radially
not as a sphere (Radially meaning as a circle/cylinder. No upward or downward force will be generated.)
- [
8
] : Test LOS before pushing
- [
16
] : Disorient player if pushed
Keyvalues
- Magnitude
(magnitude)
<string> - Amount of physics force applied by the explosion.
![Note.png](/w/images/thumb/c/cc/Note.png/10px-Note.png)
- Clamp Radius (0 = auto)
(radius)
<string> - If specified, the radius in which the explosion damages entities. If unspecified, the radius will be based on the magnitude.
- Limit to Entity
(targetentityname)
<targetname> - If specified, the explosion will only affect the matching entity.
- Inner radius
(inner_radius)
<float> - If not zero, the LOS is calculated from a point intersecting this sphere.
- Name
(targetname)
<string> - The targetname that other entities refer to this entity by.
Inputs
Explode
- Trigger the explosion.
Outputs
OnPushedPlayer
- Fires when the player is pushed by the explosion.