First Person Shooter gun

Hello Unity community! i am new to using unity and so far love it, i have plants, trees, lights, terrain, but i cant seem to find out how to add a gun and how to shoot it! I looked around here and google for some tutoreals but could not find any. i downloaded from unity magic the free version of there pistol w/ clip. i have imported it and its not in my projects folder, i am lost from here on. If anybody could link me to a place were i can learn it, or tell me here it would be greatly helpful.

bring in your gun and attach it as a child to your fps controller under the main camera then mess with the values on the inspector until the gun is where you like it. The advantage of attaching it to the fps camera is it will automatically follow the camera

look at this page of unity http://unity3d.com/unity/editor/importing and this video http://www.youtube.com/watch?v=zRGzG-H_uyE&feature=related here you can see all the ways you can import a model to unity and you can get models in this page: http://www.turbosquid.com/


then for shoot you can get an idea in this video http://www.youtube.com/watch?v=enLEpL0DrPM and http://www.youtube.com/watch?v=wfpZ7_aFoko&NR=1&feature=fvwp

There are two basic ways to go about making an FPS gun. You could either send out raycasts along the camera or instantiate an actual bullet projectile.

If you're interested in pre-made scripts with tutorials for an FPS, try my FPS package

Hey look at this video tutorials from TornadoTwins

Hope this may help you…:slight_smile: