You can’t change states from code.
Epic keeps the SetState() function private.
What you can do is create variables like ’ IsInAir ’ and change them from c++.
Then the state machine in animation should evaluate that variable and change state from there.