Joywayer ef7ff63b67 feat(combat): HitBox 新增 _targetLayers 实例级伤害目标过滤
Physics2D 碰撞矩阵只决定哪些层之间产生 Trigger 事件(全局门),无法表达单个判定盒的伤害目标差异。新增 _targetLayers 掩码:事件发生后仅对配置层结算伤害,拼刀检测独立于该过滤;Enter 入口同步过滤,非目标不进入命中/占用跟踪。默认 Everything,存量资产行为不变。

ENM_CaoZhi 接触伤害盒按规范配置 _targetLayers=PlayerHurtBox(不误伤友军),并清掉误配为 Player 层的 _rivalHitBoxMask(身体接触不参与拼刀)。已实机验证收紧后接触伤害正常。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-12 10:15:27 +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%