【動画参照】
[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喵,今天遇到了攻击判定框碰撞有时候可以对对象造成伤害有时候不能,对象移动时候子弹攻击框擦到对象蓝框边缘有时候会提前消除不能对对象造成碰撞反馈
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.
動画内の数値について:緑色はグローバルの HP 変数、赤色は自身の HP 変数、白色は受けたダメージを表しています。
///
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)
///
問題 1・2 の動画:
Video of Issues 1 & 2:
///
問題 3 の動画:
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!