2D player hides behind the room setting
I'm working on this 2D RPG and I wanted to try out sprite animations with some random object (this case, a dog) before I did with my character just to get familiar with it, But whenever I add the dog prefab to the scene, or I run the game and make it spawn the player (using a SpawnPoint from ORK Framework), it seems to appear behind the room instead of the front. How can I fix this? I've sorted the dog and the bedroom into layers, and I did the Sort Layer from the Sprite Renderer. (2 attached images)
Answer by DefinitelyNotA_Robot · Sep 21, 2015 at 05:24 PM
Here is another image depicting in 3D mode the location of the sprite between the camera and the bedroom. It's there, it's just invisible in front of the room
Answer by Xephex · Sep 21, 2015 at 05:01 PM
Can you not simply bring the sprite forward on the Z axis?
It doesn't seem to work. I change working from 2D to 3D and bring it forward, and whenever I toggle the camera, I can see the sprite being in front of the bedroom, but whenever I put the camera in front perspective, it just seems like the sprite disappears. I'm starting to think it might be something related to the bedroom settings. It's a Tiled2Unity import.