OnComponentHit triggering multiple times
I am trying to decrease the number of lives a player has when a ball hits an actor marked with the "deadzone" tag but sometimes, when the ball hits the deadzone, 2,3 or 4 lives are removed and I do not know why. Here is my OnHit code:
When I use a breakpoint to debug, I can see that the function is called multiple times, but I really don't know why. Sometimes it works fine, but most of the time, it's triggered on multiple occasions. Any help appreciated.
asked Mar 27 '19 at 09:48 PM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here