Switch/move camera when leaving current one?
Hi there!
I'm having some troubles figuring out how to deal with my cameras.
I have is a flexible grid that spawns random rooms picked from random prefabs. The grid can change from anything like 2x4squares to 16x16. What I'm planning is a roguelike camera system much like Crawls . Whenever the player leaves a room, the camera transitions to the next room.
My initial approach was having a camera attached to each room that overlaps the rooms edges. That means each camera is able to see the edges of its neighbouring cameras. The plan is to not switch cameras when the player enters the next cameras edges, but when he leaves the one he's currently in. How the heck do I do that?
Is there a more obvious solution? Telling from Crawls system, there's just one camera transitioning whenever the player is moving through a door.
Cheers guys.
Your answer
Follow this Question
Related Questions
Making a Smooth camera zoom with transform.Translate 1 Answer
Editor Camera Issue 0 Answers
I need help with my third person camera raycast 0 Answers
How to lower and raise height the camera height 0 Answers
camera zoom/moveing and object position 0 Answers