Dash like in Megaman X4 for 3D Side Scroller

Hi guys, i’m trying to make a Dash like in Megaman X4, I’ve tried to use that “Launch Character”, but it doesn’t work very well, and I’ve tried to use “Root Motion”, but it doesn’t works too.
Maybe I ain’t using it properly?
Somebody knows how to do it?
I’ll be very grateful if you could help me!!

Hello.

You can try to start with AddImpulse function for character movement component. But its uncontrollable.

To move character on desired distance and with desired speed, you should use different approach:

  • Trace capsule from character position in dash direction and distance
  • get location of hit result
  • move character to hit location with “sweep” interpolation or something else

Finaly it works man, thank you!!