Hey !
Here I will describe the specific case :
- game is 2D top-down action RPG
- we have a hero that have sword, and shield, also we have enemy that have sword and shield
- problem is when player's sword hits the shield of enemy, we need to make that sword bounces of the shield, and heros arm starts moving with sword in opposite direction ( this must be animation made in Spine like everything else )
- problem is that player can hit enemies shield at different time of the sword swinging animation - it can happen just when swings starts or when swing is near the end
- also after deflection player should start moving the arm and sword to idle position
How we can do this ? Thx.