Download

Why is my project overlapping being canceled / deactivated / unconfirmed?

**I finally discovered out what the problem has been haunting me for some time, which made me ask these 3 questions on another site (https://gamedev.stackexchange.com/): **

In programming you learn early on that if something goes wrong the guilt almost certainly is yours, some wrong variable, wrong condition, comma missing, etc.

The only answer to when it’s not your fault (directly), is something you do not know about the engine / program or some really unexpected result.

For that reason in the above questions I thought it was some error in my code, as I had some difficulty communicating between blueprints. That’s why I thought it was my fault.

I made a code so that every 1 second is written if the warrior is overlapping the tower:

Once again (for anyone who has ever seen any of the other questions) I notice that when only one warrior overlaps the tower, everything is fine:

**Now when more than one warrior overlaps the tower simultaneously it goes wrong:

I thought the problem might be due to the command of me to make the warrior stay trying to go towards the tower when he overlaps (just so as not to end the overlap due to the arrival of a new warrior) and I tried to stop him move as soon as it overlapped the tower, but the error persisted:**

Increasing the size of the collision box worked on a simpler test that I did on another project, but I believe the cause of the problem is not that, plus the collision box of the tower is already huge in this project. I would like to know how to make the overlap between the warriors and the tower not be broken for no reason.