Creating our weapon
Now, with a traditional first-person shooter, we shoot a bullet from a gun to damage enemies. However, we will create a camera that will take pictures to damage enemies.
Creating our camera
Now before we can shoot anything, we need to make our camera, and to do this, we are going to create another camera object that is zoomed in and then give it a border to look more realistic. To show how easy it is to do, let's get started! Perform the following steps:
The first thing we need to do is go to the flashlight Spotlight object we created earlier. So, with it selected, double-click on it to center the camera on it.
Our camera weapon is going to be another object, which will be a child of the FirstPersonCharacter object. To do this, first select the FirstPersonCharacter object that is located on our FPSController object and then right-click on it from the Hierarchy and then select Create Empty. Also, in the Inspector section for this newly created object, confirm whether the object...