fixed shotgun pellets
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user