Jump into mouse location with min/max velocity

Hello Guys, This BP works as to tell the character to jump into the mouse cursor and this one is working. Now my question is… how can I set a minimum and maximum velocity to i can limit the character to jump morethan whats set (max velocity) Thank you guys!

What im trying to find out.

___ Char will jump into mouse location if equal or less than the range… he will jump if he can reach

-----Char will not jump into mouse location if more than the max range or if the mouse location is too far…

hope you can help me <3

one approach I took was to have the char follow a curve rather than calculate the curve.

you will have to calculate the distance before you call SuggestProjectileVelocity.

then if distance is greater you calculate the normal, then multiply the normal by max distance then input that as your end location into suggest projectile movement.

if(dist > max)
then{end = n * max}
else{end = n * dist}