Hello friends,
I’m implementing a Souls-Like dodge system.
Currently, my character rotates to face the inputted direction at a nice speed (Does not instantly snap). Once it reaches that direction and I dodge, it will dodge in the direction it is facing.
However I need the dodge direction to be set before the character faces it:
eg; I am dodging forward but I need to dodge backwards next. I input the direction and dodge but until the character faces that direction it won’t dodge in that direction.
I thought I would add an arrow component to indicate my directional input which is seperate or at least not constrained by the actual character turning and then chose my dodge direction based on that as the arrow could face a direction before my character does.
Alas, I cannot rotate the arrow as its own thing so I’m stuck essentially waiting for the character to turn before I can dodge in the desired direction.
This is all before I work on the system for when the player is locked on and orient to movement is false.
Can anyone help or suggest a new method for implementing a responsive soulsy dodge system?
It must be 8 way also.
Thank you!