Property | Type | Description | |
---|---|---|---|
power | float |
Method | Description | |
---|---|---|
SimpleExplosion ( |
||
activate ( Vector2 pos, float radius, float force, float maxForce = float.MaxValue ) : Vector2>.Dictionary |
Activate the explosion at the specified position.
|
Method | Description | |
---|---|---|
GetPercent ( float distance, float radius ) : float | ||
applyImpulse ( Vector2 pos, float radius, float force, float maxForce, HashSet overlappingBodies ) : Vector2>.Dictionary |
public SimpleExplosion ( |
||
world | ||
return | System |
public activate ( Vector2 pos, float radius, float force, float maxForce = float.MaxValue ) : Vector2>.Dictionary | ||
pos | Vector2 | The position (center) of the explosion. |
radius | float | The radius of the explosion. |
force | float | The force applied |
maxForce | float | A maximum amount of force. When force gets over this value, it will be equal to maxForce |
return | Vector2>.Dictionary |