O'Reilly logo

Unity 3 Game Development HOTSHOT by Jate Wittayabundit

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

Creating the rockets and particles

In this section, we will continue creating the rocket prefab, which will shoot out from the launcher. We will also create the trail smoke the follows this rocket, the smoke from the launcher barrel, and the explosion when the rocket hits something.

Engage Thrusters

We will start with creating the SmokePosition, which is the position of the smoke particle when the character fires the rocket.

  1. Go to the Unity editor to create the smoke position by going to GameObject | Create Empty to create an empty game object and name it SmokePosition, and drag it inside the gun object, which is a child of the robot object, as shown in the following screenshot. By doing this we will break the prefab again, so we just click on

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