Challenge: Build a Sand Castle
Tutorial
·
Beginner
·
+10XP
·
20 mins
·
(34)
Unity Technologies

Your challenge is to use the Terrain Editor to build a sand castle in the Terrain near the Hover Racer track, and use Terrain Materials to change it into a stone castle.
Languages available:
1. Get Ready
Start by doing one of the following:
- Load a Hover Racer project from a previous lesson in this course that has been migrated to Unity 2018 LTS
OR - Download, unzip, and open the project Hover Racer 2018 LTS using the link above.
2. Extend the Sand Terrain
- In the Scene view, navigate to an edge of the existing sand terrain.
- In the Hierarchy window, select Environment > SandFloor_Alt. The Terrain Editor module will appear in the Inspector.
- Select the paintbrush tool.
- In the drop-down immediately below the toolbar, select "Create Neighbor Terrains" from the dropdown, and extend the existing sand terrain. Tip: You have to click exactly on one of the wireframe edges that appear.
- Rename the new objects that appear in the Project and Hierarchy windows.
3. Build Your Sand Castle
Click the Paintbrush tool. Use the Raise or Lower Terrain and Set Height options along with the brushes of your choice to build your sand castle.
Tip: Remember to use the SHIFT key to lower height when using the Raise or Lower Terrain option.
4. Make it a Stone Castle
Next, use the paintbrush to paint the castle with a rock or stone texture.
- Click the Paint Terrain button in the Terrain Inspector.
- In the pop-up window, search for “stone” and “rock” to find some suitable textures.
- With the new Terrain Layer selected, paint rock or stone onto your sand castle.
- Experiment with tiling size and other settings to get a pleasing effect.
5. Final Result
Here's how it looked as we made our castle. Your castle might be more elaborate.
And our final result:
To see our sand castle in Unity, download, unzip, and open the project linked above, Hover Racer Sand Castle FINAL.zip.