is it possible to add some sort of "drawing layers" to the objects?
For example i'm drawing a grid as floor, placing a chair on top of it and a player on top of the chair.
If i rotate the chair (say facing away from the camera) i want the chair to partially draw (split my sprites already) on top of the player.
For now i am placing some objects closer to the camera. However this seems hacky to me and adds a lot more complexity even for basic objects (like a chair)
Is there a way to sort the objects that are drawn?
Hello,
is it possible to add some sort of "drawing layers" to the objects? For example i'm drawing a grid as floor, placing a chair on top of it and a player on top of the chair. If i rotate the chair (say facing away from the camera) i want the chair to partially draw (split my sprites already) on top of the player.
For now i am placing some objects closer to the camera. However this seems hacky to me and adds a lot more complexity even for basic objects (like a chair)
Is there a way to sort the objects that are drawn?