How do I set up a headshot to do more damage then a body shot?
I am trying to create it where a headshot does more damage then a body shot. I already have the projectile set up to do damage when it colides with the enemy. I was thinking of setting up an if node where if true it does more damage and if false it does a smaller ammount of damage. I can't figure out how to check if the projectile has collided with a specific socket on the skeleton. How would I go about doing this? or is there an eaiser way to do what I need to do? Any help would be very apreciated!
asked Feb 14 '18 at 05:27 AM in Using UE4
i wouldnt try to do it with a socket. you could add an extra collision around the head and on hit with that set your variable
answered Feb 14 '18 at 05:36 AM
Use component tags.
In this example, when the trace hits something, a boolean is set depending on whether the component hit has the tag "Head." Just make sure that your head collider has the component tag "Head."
Follow this question
Once you sign in you will be able to subscribe for any updates here