Search Unity

Shooting gun from car

Discussion in 'Scripting' started by cruising, Oct 29, 2015.

  1. cruising

    cruising

    Joined:
    Nov 22, 2013
    Posts:
    329
    Hello!

    Can someone point me out to a good gun shot tutorial? i have searched YouTube but most dont work in U5 or need several script to work, i dont need it that advanced for this.

    What im trying to do, i have 2 guns that is mounted on the car, the pipes sticking out from the bumper on both right and left side.

    On what ever button, these 2 guns should fire bullets and hit the target your car is currently facing.
    Fire sound and effects like muzzle and target hit is enough.

    Any tips or tutorials that you recomend?
     
  2. Shujahat-Murtaza

    Shujahat-Murtaza

    Joined:
    Dec 16, 2015
    Posts:
    2
    Hi .. looking for help .. i support this question asked by #crusing am also suffering from same problem .. anyone know how to do that kindly recommend some thing ...
     
  3. Rob21894

    Rob21894

    Joined:
    Nov 21, 2013
    Posts:
    309
    You resurrected a year old thread :p

    But how do you want to choose? just infront of your current position? or towards a mouse/touch position?