I have a problem with both "Is Overlapping" and "On Collision" and here's why.
I have a bomb with two different animations. In the first animation you see the bomb and in the second animation you see the explosion. So, when the first animation is finished, the second animation starts.
The bomb is suppose to subtract 1 from enemy when the enemy is hit by the bomb, but only if it's hit when the explosion animation is playing. The enemy has to be hit 3 times before it dies.
The enemy is walking from side to side. If I use "On Collision" and the enemy is overlapping the bomb while the first animation is playing, then it doesn't subtract 1 from enemy when the second animation (explosion) is playing because there's no collision since it's already overlapping the bomb.
If I use "Is Overlapping" then it subtracts 1 from enemy for as long as the enemy is overlapping the explosion, meaning the enemy dies immediately by only 1 hit.
So, what to do? Is there a way to make sure that it only subtract 1 from enemy once while overlapping? If you don't understand what I mean, I can make a video to show you.
Thanks in advance,
Tommy / tomologames.com