eco-state-machine
eco-state-machine copied to clipboard
Godot 4 : fsm is orphan nodes
Hi! To stop the fsm from being lost, give it a name and connect it as a node:
fsm.set_name("FSM")
add_child(fsm)