I have been trying to make a game similar to Agar.io that uses some similar mechanics. However, when I become too large in the game my player becomes larger than the camera view actually is. I need a camera script that will allow me to do this without interfering with my other camera script.
This is my Growth script.
This is my Camera script.
Cretae a float value called something like incrementCameraValue and increase in the ontriggerenter method using the Camera.main.orthographicSize += incrementCameraValue;
You can save the camera in a var for better performance too.
Thank you, found that this worked perfectly but instead I used the Increase from my growth script to replace the incrementCameraValue; .
Do you know a way of making the camera smooth instead of jittery?