fixed shotgun pellets

This commit is contained in:
derek
2025-04-17 14:04:48 -05:00
parent bcc9d788a9
commit 58944de345
5 changed files with 17 additions and 19 deletions

View File

@@ -27,7 +27,7 @@ _data = {
&"pellet_glow": SubResource("Animation_s2rms")
}
[node name="ShotgunPellet" type="RigidBody3D" groups=["pellet", "spawned"]]
[node name="ShotgunPellet" type="RigidBody3D" node_paths=PackedStringArray("collision_shape", "mesh") groups=["pellet", "spawned"]]
collision_layer = 160
collision_mask = 233
mass = 0.01
@@ -36,7 +36,8 @@ continuous_cd = true
contact_monitor = true
max_contacts_reported = 1
script = ExtResource("1_1v1ju")
max_bounces = 20
collision_shape = NodePath("CollisionShape3D")
mesh = NodePath("MeshInstance3D")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("SphereMesh_5okb1")