Code FIRSTPACK: 100 credits for $5 or 200 for $10, for the first 1000 orders. Credits never expire. See packs
Event AnyDamageDamageCauserGet Actor LocationReturn ValueGet Actor LocationTargetReturn Value-ABReturn ValueBreak VectorInVecXYZMake VectorXYZ0.0Return ValueNormalAReturn Value×AB800.0Return ValueBreak VectorInVecXYZMake VectorXYZ300.0Return ValueLaunch CharacterLaunchVelocitybXYOverrideTruebZOverrideTrue

Knockback on Hit

Ready after setupCombat11 nodes, 13 wiresGallery

When this character takes damage it is knocked away from whatever hit it: 800 units per second sideways and 300 up.

Make one like this

Planning is free. Building the graph costs 10 credits, and a free account starts with 50.

Use this exact graph

Copy and Apply for gallery graphs come with every paid plan, from $9.99 a month. See plans

Before you paste1

  • Parent classCharacter

    Class Settings, then Parent Class. Or create the Blueprint from Character.

Good to know. It needs a Damage Causer. When Apply Damage leaves it empty, the push goes away from the world origin instead.

How it works

  1. Take damageEvent AnyDamage subtracts the Damage Causer's location from this character's location: the direction away from the hit.
  2. Keep it levelBreak Vector and Make Vector drop the height, Normal makes it length 1, and × 800 sets the speed.
  3. LaunchThe final Make Vector adds 300 upward, and Launch Character replaces the velocity with it.

More combat blueprints

See all 55

Made with Cosindra Blueprint Studio