Click or drag to resize

RealExplosionActivate Method

Activate the explosion at the specified position.

Namespace:  Internal.tainicom.Aether.Physics2D.Common.PhysicsLogic
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public Dictionary<Fixture, Vector2> Activate(
	Vector2 pos,
	float radius,
	float maxForce
)

Parameters

pos
Type: Internal.tainicom.Aether.Physics2D.CommonVector2
The position where the explosion happens
radius
Type: SystemSingle
The explosion radius
maxForce
Type: SystemSingle
The explosion force at the explosion point (then is inversely proportional to the square of the distance)

Return Value

Type: DictionaryFixture, Vector2
A list of bodies and the amount of force that was applied to them.
See Also