Getting Started with Digger
Setup
- Open a scene with a Unity Terrain (or create a new one).
- Configure your terrain layers as usual.
- Go to menu Tools > Digger > Setup terrains.
- This adds the
Digger Systemcomponent to your terrains. - It creates a
Digger Masterobject in the scene.
- This adds the
First Steps
- Click on Digger Master in the scene hierarchy to inspect it.
- In the Edit tab (default), ensure Action is set to
Dig. - In the Scene View, you will see a brush reticle (sphere or cube).
- Click on your terrain to start digging!
Note: The first time you dig, Unity might freeze for a few seconds. This is the Burst compiler compiling Digger’s background jobs. Subsequent operations will be much faster.
Sync & Refresh
If you change your terrain textures or modify terrain heights using Unity’s built-in tools after you have already dug caves:
- Select Digger Master.
- Go to the Settings tab (or look at the bottom of the Edit tab).
- Click Sync with terrain(s) & Refresh.
This ensures Digger’s meshes match your new terrain configuration.