I'm having a little problem here. I never thought about that because I only worked on side scroller games until now.
How do I do so the camera know when character has to be behind or before objects? I work in unity.