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:
@@ -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="."]
|
||||
|
||||
Reference in New Issue
Block a user