To enable a fixed Main Camera look at our third-person character, simply perform the following steps:
- Either work from the copy of the previous recipe or create a new 3D project, import the BasicScene_completed.unitypackage package, and, finally, add the ProBuilder package to your project.
- Open the BasicScene scene.
- In the Hierarchy panel, delete the Main Camera. This is a child inside the ThirdPersonController GameObject:
Figure 11.4 – Tagging our new camera as the Main Camera
- Now, create a new Camera in the scene, naming it Main Camera. In the Inspector panel, give this GameObject the preset tag of Main Camera.
- In the Inspector panel, set the position of our new Main Camera to (-3, 7, -7). Additionally, set the rotation to (35, 0, 0). This positions the camera above and behind the main room, in which the ThirdPersonController character is located:
Figure 11.5 – Positioning the fixed Main Camera above and...