Joywayer bedb0f8ff4 fix(combat): 地刺死亡判定改从 HurtBox 向上查找——死亡不再误传回检查点
此前经 other.transform.root 查 IDamageable,玩家被临时挂到其他
父物体(如移动平台)下时 root 非玩家根节点而漏判死亡,导致致死
触碰仍 Raise EVT_CheckpointRespawn 与死亡流程撞车。改为
other.GetComponentInParent 从 HurtBox 自身向上查找,任何层级
结构下死亡均只走死亡流程,存活才回溯检查点。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 11:20:10 +08:00
2026-06-11 15:31:29 +08:00
2026-06-05 18:41:33 +08:00
2026-05-08 11:04:00 +08:00
2026-05-27 16:48:22 +08:00
2026-06-11 15:31:29 +08:00
2026-05-08 11:04:00 +08:00
2026-05-22 13:25:40 +08:00
2026-06-11 13:28:04 +08:00
Description
No description provided
207 MiB
Languages
C# 86.8%
GLSL 11.2%
ShaderLab 1.8%
HLSL 0.1%