In my third person game, I have jump pads. A simple blueprint that sets player velocity on the Z axis (after setting movement mode to falling), to cause the character to launch in the air.
jump pad blueprint
Problem is, is that my character has a ‘dash’ maneuver, causing the character to dash forward at a high horizontal velocity. If I dash into the jump pad, the velocities will add together, causing the character to have a very high horizontal velocity (via dash), and vertical velocity (via jump pad).
What I want is to have all character velocity set to 0 when they enter the jump pad, so you only get launched straight up, no matter how fast you were running or dashing into the jump pad.
I tried the ‘stop movement immediately’ node, but that didn’t work.
Anyone have any idea on how to zero out all velocity?