[BUG] Attack Hitbox Bug Issue: Inconsistent Damage and Early Despawning

[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?

  1. If standing next to another object with a hit box, there might be a miscalculation.
  2. 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.

Found Bugs:

  1. Root Node Scale Property Issue: The scaling ratio of the root node’s transform (scale) causes abnormal hitbox (attack frame) detection.
  2. Attack Hitbox Disable Duration: The minimum effective duration for disabling the hitbox (detection frame) is 0.03 seconds; shorter durations fail to trigger detection.
  3. Action State Transition: When switching action states too quickly (condition: contact with attack hitbox), global database variables cannot be modified during the “injured” state. Local variables can be modified, but global database variables (regardless of language settings) cannot.

///

  1. Root Node Scale Issue: The scale of the root node’s Transform causes abnormal hit detection.
  2. Attack Hitbox Disable Duration: The minimum effective duration for disabling the attack hitbox is 0.03 seconds. Settings below this value prevent the hitbox from functioning correctly.
  3. Action State Transition: When switching action states too quickly (condition: contact with attack hitbox), global variables (database variables) cannot be modified during the “damage” state. Local variables can be modified, but global variables (regardless of language settings) cannot.

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!