Player face dissapears behind another mesh rendering behind it?

In this demo: Software Testing: All You Need to Know for Quality Assurance. you can see a character sprite with a red face. If you press the down and right arrow on your keyboard when the game loads up and run it you’ll notice the players face will disappear after it reaches a certain point.

The player face is a child of the body and its z position is offset by -0.05f of the body, I’ve checked and have found in terms of z coordinates it’s always in front of the body, yet it still disappears behind the body.

Any ideas why this is happening and how I could fix it? I’d like to keep rendering in perspective view though, I know orthographic rendering would probably fix this.

How do you render your “body” and what is it actually? Also a 2D sprite? Do you use a sprite engine like SpriteManager2 or something like that? If it’s a billboard sprite it will always be rotated towards the camera. When you move to the right side from the screen center the body sprite will be tilted. If your face-sprite stays in the moving-plane (even when offset by 0.05) the body will hide the face sprite at a certain angle. If you look in the other direction (move the face sprite to the other side it’s visible again)

I am having the same issue with 2D tool kit, did you manage to solve this?