Hello there,
I've been using AC (currently on 1.64.1) for a few months now but one thing which has always bugged me is I still don't know how the camera relationship works. As in:
- I have a player prefab with a First Person camera child object, which has an inactive camera component on it. This includes a First Person Camera script with things like bob head...etc
- In the Hierarchy though there is a _Cameras object and an active Main Camera with a LookAt child. This main camera is active and seems for things like Post Processing this is where effects need to be applied.
- If I disable the hierarchy Main Camera then Unity doesn't render anything, suggesting this is the most important camera.
- But, if I remove the inactive camera component from the player prefab then Unity throws an error immediately on play:
I simply don't understand the relationship here. Why the two camera objects? Why is the inactive camera component needed on the player prefab?...etc
Would love to develop a better understanding of this setup!
Thanks.
Comments