Create an FPS Weapon in Unity (Part 2 - Firing Effects)

Offered By
Coursera Project Network
In this Guided Project, you will:

Create a basic recoil animation using Unity's Animation and Animator Windows.

Configure Particle Effects by configuring different Modules of the Particle System and play them with C# scripts.

Use Unity's Physics Engine to simulate the effects of fired bullets toward objects.

Clock1.5 hours
BeginnerBeginner
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

In this one-hour, project-based course, you'll learn how to add realism to weapons-fire by creating a recoil animation and muzzle-flash and smoke effects. You'll also learn how to add bullet holes and a knock-back effect to shot objects. The guided project will introduce you to the following Unity concepts: - Prefabs - Animation - Particle Effects - Physics - Coding techniques such as Interfaces This is Part 2 of a four-part series on creating a weapon for your FPS game. In Part 1, we covered equipping your FPS player with a gun. Part 3 will show you how to set up the weapon's properties and damage effects to the destroyable GameObjects. Lastly, Part 4 will walk you through the steps for adding ammunition, reloading the weapon and creating magazines and other weapons. This is a stand-alone guided project, but because this is a continuation of previous parts in the "FPS Weapon" series, it is recommended that you complete the first parts before commencing this guided project. This series also makes use of the western-themed Unity project created in Control physics with C# in Unity and the VM-compatible FPS Player script written in Create a VM Compatible First Person Camera. These compliment this guided project and, although not prerequisites, are recommended for a more well-rounded understanding of the concepts presented herein.

Skills you will develop

Video-game DevelopmentC sharp (C#) Programming LanguageUnity 3DUnityApplication development

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Introduction, License Activation, and Recap

  2. Create Recoil Animation

  3. Play Weapon Recoil Animation when Fired

  4. Add Weapon Muzzle Flash when Fired

  5. Add Gunshot Smoke Effect

  6. Add Bullet Hole Decal to Shot Objects

  7. Apply Force to Shot Objects

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.