GrindingToolObject.tscn 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. [gd_scene load_steps=5 format=3 uid="uid://dt0wubkenx5a1"]
  2. [ext_resource type="PackedScene" uid="uid://cjtln1brv5njd" path="res://entities/GridBasedMovable.tscn" id="1_58foj"]
  3. [ext_resource type="Script" path="res://entities/objects/tools/PlayerToolObject.gd" id="2_nilaj"]
  4. [ext_resource type="ArrayMesh" uid="uid://bpb7fnq0cox1c" path="res://entities/objects/tools/grinding_tool_item.obj" id="3_grmkl"]
  5. [ext_resource type="Material" uid="uid://st2d73wbhj7" path="res://entities/objects/tools/PlayerTools01.material" id="4_t0s32"]
  6. [node name="GrindingToolObject" groups=["pushable", "tool"] instance=ExtResource("1_58foj")]
  7. script = ExtResource("2_nilaj")
  8. tool_type = 3
  9. [node name="StaticMesh" parent="RotationPoint" index="1"]
  10. mesh = ExtResource("3_grmkl")
  11. surface_material_override/0 = ExtResource("4_t0s32")
  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.126965, 0)
  16. [node name="RayCastFront" parent="RC_Holder" index="0"]
  17. collision_mask = 23
  18. [node name="RayCastDownRamp" parent="RC_Holder" index="1"]
  19. collision_mask = 23
  20. [node name="RayCastBack" parent="RC_Holder" index="3"]
  21. collision_mask = 15
  22. [connection signal="no_health" from="Health" to="." method="_on_Health_no_health"]
  23. [editable path="RC_Holder"]