I'm trying to do a "dodge" move like that:
I tried with a keyframe animation but I want the movement to be relative to the player position so it was not the right way.
Later I tried with a tween but I can't do a "circular" movement as on my diagram with it.
I think that I should use a curve2D but I don't know how to use the same curve2D for the left and the right movement (1 curve that facing player's input direction).
Having two curves each side of the player will be another solution but I don't know if it's well optimized for a 2D fighting game...
Maybe you guys will have some other ideas !