Announcement

Collapse
No announcement yet.

How do I get Hit data from both sides of the component Hit?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How do I get Hit data from both sides of the component Hit?

    Hi,

    I have a damage system that involves physics body component hit/collisions between two player characters.
    Say the UnderArm of one collides with the Leg of the other player generating a Hit. Or rather that generates a hit each on the two characters, based on the same single actual event.

    Now in my damage system I want to be able get compare both sides' ComponentHit's data to work out what to do and to calculate final damage based on that.
    So not just using one side of the hit.

    The blueprint hit node only gives me one 'Hit' with the Bone Name and Normal Impulse of one side of the hit.

    But I want to compare these for both sides of the hit to decide the result.

    How would I be able to do that? Is there an easy engine built-in way?


    Cheers
    Fred
Working...
X