Different damage on parts of enemy

Hello, I have working health and damage against an enemy I created. its a big enemy and its 2d top down. I want to know if there is any way to make more damage on that enemy by hitting different parts of it. for example if I had a car, if I hit it on the wheels it does 2 damage but if I hit it on any other part it does 1 damage only. I tried using sockets in a way that someone told me to but they really confuse me so I would prefer doing it without sockets.

thank you for your time

yeah I posted the same question a long time ago. unfortunately no one solved it

You need to create different collision boxes around the different parts you want to act differently on hit. When one of the boxes has an overlap with the damaging object/actor, you can then make sure the damage is halved or full or whatever you want it to be. It’s not a hard thing to set up, if you already have a system that includes health and damage.

if you dont want to create more items around your character you can also get the bone hit and do the damage math based on bone hit. Just look at your skeleton to see what bone names are.

If bone hit name == spine01 then dmg == 75
false if bone hit name == spine 02 then dmg ==100

etc…

ah yes what I did is do what you said and when the collision is hit it does 1 damage + the damage the enemy already takes so its like it takes 2 damage thank you very much!