An error occurs when I try to upload pics for some reason, so the next best thing is providing links to them.
Here is a short video showing the problem happening. Using a print screen function in the code part where damage is received, I confirmed the enemy was indeed taking damage. To help debug this, the world Z value of the collision box (the lowest part of the PC) at the player char’s feet is printed. At the time the enemy char takes damage, I also made it print the world Z value of a plane at the top of the enemy’s head. As expected, and can be seen, the two overlapping components are about 24 units apart vertically, so this is crazy.
I made everything I could think of as relevant visible for analysis (boxes & stuff). Using UE 4.27.
The enemy shouldn’t take any damage since my thin collision box isn’t touching him.
Player char:
Enemy:
If anyone can help me, I’d be grateful.