O'Reilly logo

Torque 3D Game Development Cookbook by David Wyand

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

How to make it rain using a Precipitation object

Torque 3D makes it easy to add precipitation to a level, such as rain, snow, or volcanic ash. In this recipe, we will add basic rain to a level and go through all of the more advanced options.

Getting ready

We will be using a project based on the Torque 3D's FPS Tutorial template using the China Town Mist level. If you haven't already, use the Torque Project Manager (Project Manager.exe) to create a new project from the FPS Tutorial template. It can be found under the My Projects directory. Then start our new FPS Tutorial template game and load the China Town Mist level.

How to do it...

In the following steps we will add a Precipitation object to the level and make it rain:

  1. Press F11 to open the

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