HI everyone, I currently have these lines of code:
if hit == true:
state_machine.travel("death")
queue_free()
My objective is to finish the animation of a certain node before removing it from a parent node. My problem is, statemachine.travel("death"), and queuefree() is being executed simultaneously. Is there a way to determine if the animationtree's finished playing the animation? Thanks