Udemy course: Damage not being Applied

Hello,
I finished the ToonTanks course on Udemy. It all seemed to be working well, so before doing some bonus level design I experimented with adjusting the capsule height and radius on the Tank Pawn. Now the game is broken. The bullets hit the turrets, and their bullets hit me, but they do no damage. I know they’re generating hit events because other actions tied to the hit event still work. I set the capsule back to its default height, and it still didn’t work. I tried various collision settings for the turret and tank, and none of them worked. I cannot even fathom what I did to make this happen because it was working perfectly before. I didn’t touch the C++ at all.

I don’t even know what files I should screenshot or upload to ask for help because I genuinely have no idea where the problem is. How can I go about even getting the rough idea on how to fix this issue?

I’ve started making regular commits of projects to GitHub, so that when something mysterious like this happens, I can I can rewind time and figure out when things started to go wrong, or reset to an earlier commit in the worst case scenario.

Since I’m guessing that this won’t be possible for you, we have to go through your program with a fine-tooth coomb. Your bullets are correctly colliding, but are they correctly communicating with the thing that they are colliding with?

Once you’ve established that, then think about what other parts of your program need to be working in order for your character to lose health and die. It’s hard to imagine that your health system is not working since you’ve not touched the c++, but just to make sure, you could try adding a debug key to manually take health.

Lastly, if you upload it to GitHub with an Unreal Engine git-ignore (that’s important otherwise the file size would be massive), I could take a look at it.

Privacy & Terms