Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Unity Shooting Tutorial - Very Simple

Discussion in 'Community Learning & Teaching' started by mickdiz, Sep 5, 2015.

?

What Next?

  1. Recoil

    1 vote(s)
    50.0%
  2. Muzzelflash

    1 vote(s)
    50.0%
  1. mickdiz

    mickdiz

    Joined:
    May 18, 2013
    Posts:
    6


    Untiy 3D Shooting Tutorial shows you how to create a first person player that you can walk around, jump and run. I show you how you can add a gun to your character and make the gun shoot on click. I will be making a lot of fps tutorials on my channel. This tutorial is brought to you by PixelSenseDevelopers if you would like more tutorials like and subscribe

    Unity is a editor that a lot of companies use to make games. Unity is easy to use and you can do whatever you want with it.

    Links:
    Shoot Script- http://pastebin.com/q2Rh5BX5
    Destroy Script - http://pastebin.com/f4C64xC6
    Gun Movement- http://pastebin.com/vBqdUQAu

    Add shoot script to the spawn object. Add the destroy script to the bullet prefab. Add the gun movement script to the model of your gun and then drag your gun into the gun input field in the inspector tab.
     
  2. mickdiz

    mickdiz

    Joined:
    May 18, 2013
    Posts:
    6
    It a very simple tutorial you will need a gun model for the tutorial. You can get gun models here