Learning Outcomes
By the end of this chapter, you will be able to:
•Add a firing rocket launcher to the game.
•Add Rockets to the game that explode on contact with other GameObjects.
•Add sound effects for the weapon firing, Rockets, and explosions.
As our game is going to be a First Person Shooter, we’re going to need weapons. We’ll keep things simple, and stick to a rocket launcher.
There’s a file called RocketLauncher.fbx included in the book assets (you can use this, or see what you can find online or in the Unity Asset Store).
Create a folder in your Unity project called “MyModels,” and drag the RocketLauncher.fbx file into Unity to import it into here (the fbx [filebox] format was originally created for ...
Get Game Audio with FMOD and Unity now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.