Gun Shooting

I just need to know how to make a gun shoot and how to apply the controls to make it do that. At the moment i have a simple scene with a gun in view and i’m using the first person controller prefab to move around and look. So how do i make the gun shoot?

You might want to check out this: Its by no means an ideal solution but its one option

http://unity3d.com/support/resources/tutorials/video-animation-view#vimeo:11399550

The final video in the sequence shows a gun being fired using animation events.

Download the project to see how things are set up.

Not quite what i was looking for, thanks anyways :smile:

First I suggest doing the FPS Tutorial
http://unity3d.com/support/resources/tutorials/fpstutorial

then if you want to get more in depth, try the:

Dastardly Banana -(Free) FPS Weapons Package version 0.9.2:
http://forum.unity3d.com/viewtopic.php?t=47742&highlight=dastardly+banana

Great kit.

I’m actually using a gun from that kit but it doesn’t shoot or anything :frowning:

On the website, right side, are video tutorials so you can learn to use the kit. =]

Thanks i’ll give it a shot :smile:

This asset makes it a lot easier than scripting: Unity Asset Store - The Best Assets for Game Making