SimpleExplosionActivate Method |
Activate the explosion at the specified position.
Namespace: Internal.tainicom.Aether.Physics2D.Common.PhysicsLogicAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic Dictionary<Body, Vector2> Activate(
Vector2 pos,
float radius,
float force,
float maxForce = 3.402823E+38f
)
Parameters
- pos Vector2
- The position (center) of the explosion.
- radius Single
- The radius of the explosion.
- force Single
- The force applied
- maxForce Single (Optional)
- A maximum amount of force. When force gets over this value, it will be equal to maxForce
Return Value
DictionaryBody,
Vector2A list of bodies and the amount of force that was applied to them.
See Also