I'm trying to create a top-down shooter, and for the collision of bullets with enemies I am using the Step to avoid bullets going too fast through the target.
The problem is that the collision validation that would reduce the enemy's life by 1, is reducing it by 2, bullets have the property of passing through the target, I don't know if it's because of that..
The validation event I did is that in case of Step and overlapping the enemy, it reduces his life by 1.
What would be the correct way to work with bullet step so that the collision event only counts once?