Is there a way to prevent camera from falling even though it is a child of the player?
Hi!
So I'm making a 2D game where the player moves up forever. However I'd like the player to die when he falls below the camera view. I already have a system in place for killing the player when he falls "under the screen".
Currently my camera is a child of the player, meaning that when the player falls, so does the camera because it is a child (obvious). Is there a way to prevent the camera from falling down with the player if it is a child? Or do I have to use some sort of cpu-expensive player tracking script (such as Transform.LookAt)?
Thanks for your ideas and input!
Your answer
Follow this Question
Related Questions
What this error? 0 Answers
Camera looking at the player at an angle 1 Answer
Problems with rotating the player on the Y axis C# 0 Answers
Change Camera Position 0 Answers
Partial synchronization of camera with the bone of the head or other object 0 Answers