Skip to main content
Before starting this tutorial, read:
Explode Physics spawns multiple new objects in a single click, distributes them across a sphere (or concentrates them at one point), and immediately pushes them outward using a physics force. The objects then collide with the environment and settle under gravity. Use this tool to create debris piles, scattered props, or any layout that should look like objects were thrown or blasted from a point.

Step 1 — Open the MegaWorld Window and select Explode Physics

Press Alt + Z to open the MegaWorld Window. In the Tools Panel, click the + button and choose PhysX Painter → Explode Physics.

Step 2 — Add a Group and prototypes

In the Selection Panel, click Add Group. Inside the group, add Unity/GameObject or Terrain Object resources and add your Prefabs.
Your Prefabs need Collider components. The physics simulator creates temporary Rigidbodies for each instance during simulation.

Step 3 — Configure the explosion settings

In the Settings Panel, configure:
  • Position Offset Y — the height above the surface at which the burst center is placed. Default: 15.
  • Instances — the min/max range for how many objects are created per click. Default: 25–50. Adjust for a smaller or larger burst.
  • Spawn From One Point — when off (default), objects are spread randomly inside a sphere and pushed outward. When on, all objects spawn at the center and receive a random-direction force.
  • Size — the diameter of the spawn sphere when Spawn From One Point is off. Default: 10. Visible only when Spawn From One Point is off.
  • Force — the strength of the outward push. Default: 20. Visible only when Spawn From One Point is off.
  • Spacing — minimum cursor movement before a new burst fires while dragging. Default: 20.

Step 4 — Click in the scene view to trigger the burst

Move your cursor into the Scene View. A sphere handle shows the spawn area and offset center point. Click to trigger the burst — a random number of objects between Instances Min and Instances Max spawn and are pushed outward, then fall and settle.

Step 5 — Undo if needed

Press Ctrl + Z to undo. The full burst from one mouse click or drag is undone in one step.

What’s next

  • Use Brush Physics to scatter objects more gradually across a larger area.
  • Use Brush Erase to remove objects that landed in unwanted places.
  • Read the full Explode Physics reference documentation.