Reader small image

You're reading from  Torque 3D Game Development Cookbook

Product typeBook
Published inJan 2013
Reading LevelIntermediate
PublisherPackt
ISBN-139781849693547
Edition1st Edition
Languages
Right arrow
Author (1)
DAVID WYAND
DAVID WYAND
author image
DAVID WYAND

David Wyand has been using GarageGames' Torque Game Engine for the past 10 years. Among his other interestes are 3D graphics applications, computer networking and Artificial Intelligence for computer games.
Read more about DAVID WYAND

Right arrow

Grouping adjacent zones together


Normally we use a Portal object to join the Zone objects together. This acts as a window, or doorway between the zones. However, there are times when adding portals is counterproductive, and we just want to have a number of zones treated as one unit. An example of this is when using convex-shaped zone objects to fill up an oddly-shaped room, and we want the whole room to be treated as one big zone.

In this recipe, we will look at how to have two or more Zone objects considered a single zone, without the use of Portal objects.

Getting ready

Start up Torque 3D and launch a level of your game, then press F11 to open the World Editor. As we want to manipulate the scene objects, the Object Editor should be selected (F1 or by using the Editors menu). Make sure there are at least two zone objects already in the level, and that they are next to each other.

How to do it...

In the following steps, we will group a number of Zone objects together so that they are treated...

lock icon
The rest of the page is locked
Previous PageNext Chapter
You have been reading a chapter from
Torque 3D Game Development Cookbook
Published in: Jan 2013Publisher: PacktISBN-13: 9781849693547

Author (1)

author image
DAVID WYAND

David Wyand has been using GarageGames' Torque Game Engine for the past 10 years. Among his other interestes are 3D graphics applications, computer networking and Artificial Intelligence for computer games.
Read more about DAVID WYAND