how do i make my immovable 'empty gameobject spawnpoint' shoot bullets in the direction of my crosshair?
I want to shoot bullet sprites out of my gameobject which is not movable and rests at the bottom of my 2d scene as a spawn point. The crosshair is mouse controlled and not attached to the spawnpoint. I am not so good at scripting but trying to achieve this using c#. I found this link but unable to undertand as I mentioned I am new to unity.
The script that I am using to control my crosshair is attached as an image.
http://answers.unity3d.com/questions/1234978/how-do-i-make-my-player-look-and-make-my-bullet-mo.html
Please Help, Great Developers.
Help is always appreciated.
TIA.
crosshair.png
(15.7 kB)
Comment