O'Reilly logo

Getting Started with Unity 5 by Dr. Edward Lavieri

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Additional environmental features

We are now ready to enhance our terrain with additional features. First, we will add a natural bridge, and then we'll selectively plant trees. We'll also add water to the center of our terrain and create the sky.

Natural bridge

There are several ways to build a bridge for our game. We want the player to be able to walk from one side of the game map to the other. The approach we'll take is to use a textured geometric shape. Here are the steps:

  1. Use the transform tools in the Scene view to zoom into the area you want to place the bridge. I will put it in the center of the terrain.
  2. Select the GameObject drop-down menu, select the 3D Object, and click on Cube.
  3. Right-click on the cube in the Hierarchy view and select Rename ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required