Camera Planning:
For the camera, I wanted to create a controller that can move the camera based on the inputs from a controller. When planning this I began brainstorming how it could be done trying to think of issues that may come up when making it.
For this, I also wanted to create a flow chart showing how I plan for the camera to function. So to plan the camera I have made a flow chart using Miro showing how the script will work.
To plan this out I started by loading up Miro and getting making the flow chart after brainstorming some of the issues that could possibly show up after doing some research on rotations in unity I made the chart below showing how I aim to get the script working.
Here is my flow chart it goes over each function that I have planned to have:
_____________________________________________________________________________________________
Why:
The reason I am adding a camera that the player can control in the first place is not only so the player can have a greater sense of control of the game and the car but also to make the game feel and play better.
As the player played the game they tend to move the other stick as most other racing games have a small amount of camera control so if it does not have any it falls off and so makes the player uncomfortable.
The player having many inputs in a game can feel slightly overwhelming which is why you need to limit the camera so for mine I will only have it go side to side and have it quite slowly so as not to overwhelm the player.