- Home /
Cannot offset the Z of a child camera?
I'm currently doing the 2D UFO Tutorial, and I've run into a problem while trying to set the camera as the child of the player object. It sets itself to the Z of the player, and since it's inside it, the game screen is black. I've tinkered with it and the X and Y offset work, but not the Z one, no matter the number. I know I'm supposed to unchild it later so it's not that big a deal, but why am I running into this problem when the tutorial just drags and drops and it's fine from the get-go?
Picture attached:

Answer by hexagonius · Oct 25, 2016 at 09:25 AM
usually the camera has a z offset of negative values since positive values mean going even further into z-direction. Default usually is -10
Your answer
Follow this Question
Related Questions
Camera setup question 2 Answers
Cinemachine weird lines of color when moving? 1 Answer
How do I get rid of this motion blur? 0 Answers
Unity 2D Position Issues 0 Answers