Having the hardest time figuring out how to make projectile bounce an enemy

Hey all,

I’m stuck. I’m basically trying to make a fps that has a couple weapons and the projectile can bounce the opponent into air when you hit their feet (Kind of like team fortress direct hit rockets). The goal is to be able to juggle/combo them and bounce them off the platform (Smash brothers style) - The projectile shouldn’t cause any damage since points are given when enemy is knocked off map into a killzone

I wanted to apply this to Rocket, grenade and melee

What I have is not working, the enemies maybe move a half foot no matter what values I change. I can’t find any tutorials and at this point I’m pretty much dead in the water.

Is there anyone here who could help me with a blueprint for this? Thanks a million!

Hey wargasm594, welcome to the forums!

Sounds like a good time for the ol’ “Add Impulse” node!

image

You’ll want to add impulse to whatever the root of the character is.
image
The target will be your character hit by the explosion.

The Impulse will be a vector… It’s either location of the hit object minus the explosion location or vice versa, I can never remember but I think that’s right.

Once you get that vector you’ll multiply it by a float whatever strength you want to give the explosion. This will likely be a high number. Then plug that resulting vector into the Impulse!

Good luck! Hope that help!

Thank you for the reply and approving the post!

I will poke around with this in the AM but I think this might be over my head :sob: - I will follow up tomorrow after I give it a go!

Thanks again

Thanks @Mind-Brain - I have looked at this for the last few days and I’m still not getting anywhere :frowning: - It really seems to be over my head with these blueprints, I think I spent hours on YT trying to find examples of this with no luck as well. hmm

Hey again @wargasm594!

Can you give me some more info? Did you try implementing what I showed you? If I can see your BP I might be able to figure out what is wrong. Also do your characters use “simulate physics”?

I’m sorry it took so long to reply, I didn’t get a notification for this! (I have it semi-working) off a game template I am using. It’s not perfect but I think will work for now. I still wouldn’t be able to figure this out on a fresh game (not using template)