Explode(ExplosionDefinition)
Apply a radial explosion applying impulses away from the position to all bodies found within in the radius.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public void Explode(PhysicsWorld.ExplosionDefinition definition)
Parameters
The explosion definition describing how the explosion should be handled.