Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with Unity 5

You're reading from   Getting Started with Unity 5 Leverage the power of Unity 5 to create amazing 3D games

Arrow left icon
Product type Paperback
Published in May 2015
Publisher
ISBN-13 9781784398316
Length 184 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Dr. Edward Lavieri Jr. Dr. Edward Lavieri Jr.
Author Profile Icon Dr. Edward Lavieri Jr.
Dr. Edward Lavieri Jr.
Arrow right icon
View More author details
Toc

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. Rename the cube as Bridge.
  4. Use the transform tool to increase the width and length of the cube. A scale of 12, 5, 58 works nicely.
  5. Use the translate tool to move the bridge in place. Be sure to place both ends just beneath the surface...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image