Download

How do I create the "punch target follows socket" functionality?

Hello folks,

Does anyone know how can I create the “punch target follows socket” functionality that the IKenema provides? See the example below.

https://youtu.be/8kV15oQnHmQ?t=61

Thanks

I’ve done smth similar via IK for hand and animation curve.
So basically:

  1. Add animation curve to punch animation (curve: from 0 - when punch is started, to 1 - punch “hit” position, and again to 0 on hand “backward” move) https://docs.unrealengine.com/latest/INT/Engine/Animation/Sequences/Curves/
  2. Animation update graph - update position of punch target(get location of socket on enemy)
  3. Animation graph: Add IK(FABRIK IK ot 2 bones IK) node for hand. Target from #2, and alpha from curve #1 (https://docs.unrealengine.com/latest/INT/BlueprintAPI/Animation/GetCurveValue/index.html)