In unity there was a parts renderer and a render seperator script to split the spine skeleton into parts. Is there something similar in godot? I would like to change the sorting order of parts at runtime within the editor
Parts Renderer
@Chill In spine-godot you have SpineSlotNode
for that purpose:
https://esotericsoftware.com/spine-godot#SpineSlotNode
It allows you to insert your own objects or particle systems in the draw order, effectively splitting the skeleton at the respective slot.
Chill If you just want to hide your skeleton's hand, I think it could be accomplished by simply setting the attachment to be displayed in the hand slot to null using the set_attachment()
method, like this:
get_skeleton().find_slot("hand").set_attachment(null);
Currently there is no method to easily change the draw order, it may be faster to prepare an animation with a key of the changed draw order and play it on a higher track.