Building An FPS In Unity Part 2: Basic Weapons
Now that we have gotten our first person shooter started, lets get a really basic implementation of a weapon. Here we use some assets that can be found for free off of the asset store, and create a gun fire particle effect, play a sound, and add some force to the objects that you shoot.
Music used: Dance Of The Pixies by Jens Kiilstofte (Machinimasound.com)
Licensed under Creative Commons CC-BY 3.0 Unported License | https://machinimasound.com/license
Link to assets in this series : https://db.tt/nvyU2RxU
Link to the Unity Beta Standard Assets : http://u3d.as/6ft
Link to the AK47 : https://www.assetstore.unity3d.com/#/content/9156
Link to the sound effects : https://www.assetstore.unity3d.com/#/content/8069
Link to crosshair texture : http://bit.ly/1miA3Jw