Godot Version
godot 4.2
Question
hey, i’m looking for a way to get things working properly for my state machines.
I have 4 states ground, air, landing and a attack state that have a combo of 2 attacks.
They’re all linked with a sprite2d, an animation player and an animation tree
the problem is that i want that my player can attack even if he’s in air. for now it’s working but when it change state, it stop the animation with some problems like the collision shape of my sword stay active if it was while i touch the ground.
i saw a video with a bear and a chewing bubble gum but the way that he use state machine is not the same as me so i cant really use it.
if you want an idea of what my states machine looks like, here’s the video i used to set it up : (https://www.youtube.com/watch?v=fuGiJdMrCAk)
thanks !