BombItem.tscn 1.3 KB

12345678910111213141516171819202122232425262728293031
  1. [gd_scene load_steps=5 format=3 uid="uid://cl7gkew36nhsg"]
  2. [ext_resource type="PackedScene" uid="uid://cjtln1brv5njd" path="res://entities/GridBasedMovable.tscn" id="1_qwg46"]
  3. [ext_resource type="Script" path="res://entities/objects/bomb/BombItem.gd" id="2_ia5eu"]
  4. [ext_resource type="ArrayMesh" uid="uid://dt4h8l8euesg0" path="res://entities/objects/bomb/bomb.obj" id="3_rjrrl"]
  5. [ext_resource type="Material" uid="uid://sg0vyrmyrd5e" path="res://entities/objects/bomb/Bomb.material" id="4_5hgmh"]
  6. [node name="BombItem" groups=["bomb_item", "pushable"] instance=ExtResource("1_qwg46")]
  7. script = ExtResource("2_ia5eu")
  8. [node name="StaticMesh" parent="RotationPoint" index="1"]
  9. transform = Transform3D(0.723732, 0, 0, 0, 0.723732, 0, 0, 0, 0.723732, 0, 0, 0)
  10. mesh = ExtResource("3_rjrrl")
  11. surface_material_override/0 = ExtResource("4_5hgmh")
  12. [node name="CollisionShape3D" parent="." index="1"]
  13. transform = Transform3D(1, 0, 0, 0, 0.75, 0, 0, 0, 1, 0, 0.6, 0)
  14. [node name="DetectionArea" parent="." index="3"]
  15. transform = Transform3D(1, 0, 0, 0, 0.6, 0, 0, 0, 1, 0, 0.127, 0)
  16. [node name="RayCastFront" parent="RC_Holder" index="0"]
  17. collision_mask = 23
  18. [node name="RayCastBack" parent="RC_Holder" index="3"]
  19. collision_mask = 15
  20. [connection signal="no_health" from="Health" to="." method="_on_Health_no_health"]
  21. [editable path="RC_Holder"]