1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-27 22:41:56 +08:00

fix(EntityBase): 移除默认碰撞层以避免意外碰撞

将EntityBase节点的collision_layer默认值设为0,防止在没有明确设置时与其他物体发生意外碰撞
This commit is contained in:
2025-09-14 16:25:04 +08:00
parent 14f43b76b7
commit a995200155
+1
View File
@@ -373,6 +373,7 @@ alpha_curve = SubResource("CurveTexture_vvfxd")
[sub_resource type="CircleShape2D" id="CircleShape2D_34h7q"]
[node name="EntityBase" type="CharacterBody2D"]
collision_layer = 0
script = ExtResource("1_mvol6")
[node name="weaponStore" type="Node2D" parent="."]