ItemContainer.tscn 906 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. [gd_scene load_steps=3 format=2]
  2. [ext_resource path="res://Scripts/Objects/ItemGem.gd" type="Script" id=1]
  3. [sub_resource type="SphereShape" id=1]
  4. radius = 1.0
  5. [node name="ItemContainer" type="Area"]
  6. input_ray_pickable = false
  7. input_capture_on_drag = false
  8. space_override = 0
  9. gravity_point = false
  10. gravity_distance_scale = 0.0
  11. gravity_vec = Vector3( 0, -1, 0 )
  12. gravity = 9.8
  13. linear_damp = 0.1
  14. angular_damp = 1.0
  15. priority = 0.0
  16. monitoring = true
  17. monitorable = true
  18. collision_layer = 1
  19. collision_mask = 1
  20. audio_bus_override = false
  21. audio_bus_name = "Master"
  22. reverb_bus_enable = false
  23. reverb_bus_name = "Master"
  24. reverb_bus_amount = 0.0
  25. reverb_bus_uniformity = 0.0
  26. script = ExtResource( 1 )
  27. item_type = 0
  28. [node name="CollisionShape" type="CollisionShape" parent="." index="0"]
  29. shape = SubResource( 1 )
  30. disabled = false
  31. [connection signal="body_entered" from="." to="." method="_on_Item_body_entered"]