Hit to the wheels might not trigger Tank::TakeDamage

Hello,

Finished this whole tank course, although I know it is going to be removed quite soon.
I noticed a little bug upon finishing it:
Sometimes when you hit a tank toward its wheels, everything goes as expected, radial force is applied BUT the tank doesnt take any damage, as if the wheels prevented the tank from getting its own OnHit event applying. In fact, it seems the Tank::TakeDamage is not triggered in that very case.
I did not enter too much into details, moving on to the new courses, but I just want to make sure I understand the origin of this bug.

Thank you guys. Wonderfull lecture so far. Have a good day

I’ll try look into that.

This could be fixed with clever collision profiles. Basically, the projectile should collide with the wheels.

Privacy & Terms