In this article we will look at creating bullet holes when we hit a wall. Than we want to shoot through the center of the screen where our reticle is .To start off we will create a script called shootBehavior and attach it to our Player.

--

--

In this article we will create a copy(instantiate) of a sphere where we click the mouse. To start we will create a new script called instantiate Sphere and attach it to our main camera. Than in the script we will use the following code.

--

--

Josh Watts

Josh Watts

Hello I am an aspiring game developer learning to develop great games. Right now I am going through a program with GameDevHQ. My favorite game is Half-Life.