In the Legend of Zelda: The Wind Waker for example, Link’s attack animation will depend on not only the direction the camera is facing relative to link but also the direction of input.
If the camera is facing link’s back, and the player holds forward on the joystick before the attack button, Link will thrust his sword forward.
If the camera is facing link’s left arm, and the player holds left before the attack, Link will again thrust in that direction.
Thrusting seems to be dependent on if the the joystick is being pointed in the exact direction link is facing on screen. Regardless where the camera is.
Now link also does a diagonal slash that seems to trigger if the joystick is pointed perpendicular to the direction he is facing.
If the camera is facing link’s left arm, and the player flicks the joystick up just before the attack button, Link will perform the diagonal slash.
The diagonal slash sequence is as follows:
I would like to know of a method that could replicate these type of checks. I Imagine its probably easier than it seems but I’m still having trouble coming up with a solution. I’m still fairly new to unreal blueprints so keep that in mind. Anyways thanks to anyone who responds.