DI -Directional Influence

Hello,

I was wondering if anyone had an idea of how to implement something like DI sound in Super Smash Bros Melee?

This specifically is when:

After being hit, the character is in hit stun, but during this time they would have access to a low amount of ability to alter the direction, not magnitude, of his/her arial momentum (I would like to only allow X/Y-Axis movement since gravity and the upward force of some hit/jump would dictate the Z-axis)

I have already seen that UE4 has a built in air control setting, but I would like to limit this further while in hitstun.

Currently the Char_A BP is set up to have an on hit (when Char_A is hit by Char_B) a In-Hit-Stun? boolean is set to true.

Any thoughts and ideas on the matter are appreciated

  • Chilli