[Video Reference]
[Video Link]
[Video Link]:
///
Today, I encountered a bug with attack hitbox collisions. Sometimes the hitbox deals damage to the target, and sometimes it doesn’t. When the target is moving, if the bullet’s hitbox grazes the edge of the target’s blue hitbox, the bullet sometimes disappears prematurely without triggering collision feedback on the target.
///
Bug with attack hitboxes—today I encountered an issue where attack hitboxes sometimes deal damage to targets and sometimes don’t. When the target is moving, if the bullet’s hitbox grazes the edge of the target’s blue hitbox, the bullet may disappear prematurely without providing collision feedback to the target.
I’m encountering the same issue. It seems there may be a problem with the edge collision detection.
It looks like there might be 2 issues?
- If standing next to another object with a hit box, there might be a miscalculation.
- If moving away from the bullet, the hit calculation might get misapplied.
Are you both able to reproduce the issue when there is no background object nearby and when moving towards the bullet? Just want to get a larger understanding of affected cases.
Regarding the numbers in the video: Green indicates the global HP variable, red indicates the own HP variable, and white indicates the damage taken.
///
BUG2.rar (428.9 KB)
///
Video of Issues 1 & 2:
///
Video of Issue 3:
Thank you for the additional feedback. We have managed to reproduced the issue internally and are working on a fix now!