Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | batmanasb | |
Old Version | Published before Godot 3 was released. |
I’m using a YSort node to sort my nodes, but my character had a body sprite and a weapon sprite, and I used Z values to switch the weapon from in front of him to behind him, and back again. But that doesn’t seem to work well with the YSort because everything seems to stay at Z = 0. So is there a way to switch the position of the weapon sprite with the body sprite, or should I use those Remote nodes, or some other trick?