Method ApplyExplosiveImpulse
ApplyExplosiveImpulse(float, float3, float, float3, float)
Applies the explosive impulse.
Declaration
public void ApplyExplosiveImpulse(float impulse, float3 explosionPositionWorldSpace, float explosionRadius, float3 up, float upwardsModifier = 0)
Parameters
Type | Name | Description |
---|---|---|
float | impulse | The impulse. |
float3 | explosionPositionWorldSpace | The explosion position world space. |
float | explosionRadius | The explosion radius. |
float3 | up | The up vector. |
float | upwardsModifier | (Optional) The upwards modifier. |
ApplyExplosiveImpulse(float, float3, float, float3, CollisionFilter, float)
Applies the explosive impulse.
Declaration
public void ApplyExplosiveImpulse(float impulse, float3 explosionPositionWorldSpace, float explosionRadius, float3 up, CollisionFilter filter, float upwardsModifier = 0)
Parameters
Type | Name | Description |
---|---|---|
float | impulse | The impulse. |
float3 | explosionPositionWorldSpace | The explosion position world space. |
float | explosionRadius | The explosion radius. |
float3 | up | The up vector. |
CollisionFilter | filter |
applied to the impulse. |
float | upwardsModifier | (Optional) The upwards modifier. |