1 When the bullet’s attack box collides with the enemy’s hit box:
(1) If both the attack box and hit box are square, attacks and hits function normally without issues.
(2) When both the attack box and hit box are changed to circular shapes, there is a probability that enemies fail to register hit detection.
2 This is a BUG.
[Reproduce]
1 Download the file, extract it, and run it in AGM by pressing F5.
2 Use [WSAD] or [up, down, left, right] to control player movement.
3 The player automatically fires bullets to attack enemies. Bullets disappear after detecting a hit, but enemies may occasionally fail to register the hit detection. (Bug occurs)
I’ve been experiencing a similar issue where bullets sometimes disappear earlier than they should.
This might happen because when I trigger a condition change on my side, the hitbox notification doesn’t reach the target object. (All hitboxes are axis‑aligned squares.)
However, it’s also possible that the angle of inclination is causing the problem.
I can observe the phenomenon mentioned by @serbow in version 1.1.14. There should be some kind of bug.
Is there a reproducible project for the issue mentioned by @bigcake?
The probability of this collision disappearing prematurely is too low. I seem to have encountered it before—when the bullet’s speed is slightly faster than the protagonist’s, and both are moving right simultaneously, the bullet disappears on its own just before colliding with the protagonist. I’ll try to reproduce this in a small project.
When the character is standing still, bullets colliding with the character correctly trigger actions, and the character properly performs the hurt animation.
However, when both the character and the bullet are moving simultaneously, the character takes damage but does not change its animation, and the bullet also does not change its animation. The action is only triggered upon the second collision, when the bullet fully enters the character’s hitbox.
Guess: Possibly related to movement speed, or perhaps due to fractional distances in collision boxes causing judgment issues.