weapon pickup working
This commit is contained in:
@@ -54,10 +54,11 @@ _surfaces = [{
|
||||
blend_shape_mode = 0
|
||||
shadow_mesh = SubResource("ArrayMesh_46pc3")
|
||||
|
||||
[node name="ammo_pickup" type="RigidBody3D" groups=["pickup"]]
|
||||
[node name="ammo_pickup" type="RigidBody3D" node_paths=PackedStringArray("collision_shape") groups=["pickup"]]
|
||||
collision_layer = 4
|
||||
collision_mask = 6
|
||||
script = ExtResource("1_sni3c")
|
||||
collision_shape = NodePath("CollisionShape3D2")
|
||||
pickupType = "ammo"
|
||||
|
||||
[node name="Area3D" type="Area3D" parent="."]
|
||||
@@ -81,7 +82,3 @@ skeleton = NodePath("")
|
||||
stream = ExtResource("2_2ks2g")
|
||||
attenuation_model = 1
|
||||
autoplay = true
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
[connection signal="area_entered" from="Area3D" to="." method="_on_area_3d_area_entered"]
|
||||
[connection signal="body_entered" from="Area3D" to="." method="_on_area_3d_body_entered"]
|
||||
|
||||
Reference in New Issue
Block a user