Layering issue with sprites

134338-problem.png
Oh boy, the sprite that I imported seems to work! Let’s just try walking behind it and-

134339-problem2.png

Oh.

Okay, so question: How do I make it so that the player’s position relative to the sign makes sense, for lack of a less confusing phrase? The game I’m making uses 2D sprites in a 3D environment, so layering objects that all interact with one another makes things a little tricky.

Two solutions:

  1. Make the transform position have the same Z as its Y (or scale together), and use orthographic camera
  2. Make a script that update the sprite’s sorting layer using transform’s Y value.