Before starting this tutorial, read:
- Working with Data — Groups, Resource Types, and Prototypes
- Working with MegaWorld Window — how to navigate the window
Step 1 — Open the MegaWorld Window and select Precise Physics
Press Alt + Z to open the MegaWorld Window. In the Tools Panel, click the + button and choose PhysX Painter → Precise 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 so the physics simulation can detect the terrain surface. Without colliders the object falls through.
Step 3 — Configure the tool settings
In the Settings Panel, set:- Position Offset Y — the height above the surface at which the object spawns. Default is
30. The scene view shows a sphere handle at this height above your cursor to indicate the spawn point. - Spacing — how far you must move the cursor while dragging before another object is placed. Default is
5. - Physics Effects — an optional initial impulse applied to the object at spawn. Leave force low for a clean vertical drop.
Step 4 — Click in the scene view to place objects
Move your cursor into the Scene View. You will see a small sphere marker above the cursor showing where the object will spawn. Click to place — the object falls from that point and settles on the surface. Drag to continue placing objects along your cursor path, one per Spacing interval.Step 5 — Undo if needed
Press Ctrl + Z to undo. Each mouse release creates one undo record.What’s next
- Use Brush Physics to scatter many objects across a brush area at once.
- Use Explode Physics to burst-spawn multiple objects from one point.
- Read the full Precise Physics reference documentation.
