Let's follow a step-by-step process to do this:
- We will start by adding our objects to the scene. We will add a big plane to the scene and we will call it Floor (you may also add a texture if you like; be creative as it will help you have fun with this simple demos).
- We will add a sphere and a cube; we will call the sphere Player and the cube Enemy. In the enemy, we will add another empty object and we move it just outside the cube. We will call it shootPoint and it will be a placeholder for where the enemy shoots.
- Then, place all these objects on the floor; you should have something similar to this:
- Now, because we want ...