the player companion is positioned on the ground, but its sprite has an offset that makes it appear higher. the shadow is a separate object and in our case works completely differently but let’s not get distracted here ;)
Comments
Log in with your Bluesky account to leave a comment
but there’s a second method to correctly sort it! with y sorting in godot, aside from setting the offset, you can also enable and disable y sort on nodes to group them:
if you enable ysort on parent A, disable it on child B, and then position child-of-B sprite C higher, its sorted on the pivot of B
Comments
if you enable ysort on parent A, disable it on child B, and then position child-of-B sprite C higher, its sorted on the pivot of B