PullToolObject.tscn 1.3 KB

12345678910111213141516171819202122232425262728293031
  1. [gd_scene load_steps=5 format=3 uid="uid://whekeo2jjdld"]
  2. [ext_resource type="PackedScene" uid="uid://cjtln1brv5njd" path="res://entities/GridBasedMovable.tscn" id="1_dcn75"]
  3. [ext_resource type="Script" path="res://entities/objects/tools/PlayerToolObject.gd" id="2_xwvw7"]
  4. [ext_resource type="ArrayMesh" uid="uid://dixaeqdaarimo" path="res://entities/objects/tools/pull_tool_item.obj" id="3_43vpx"]
  5. [ext_resource type="Material" uid="uid://st2d73wbhj7" path="res://entities/objects/tools/PlayerTools01.material" id="4_0wiig"]
  6. [node name="PullToolObject" groups=["pushable", "tool"] instance=ExtResource("1_dcn75")]
  7. script = ExtResource("2_xwvw7")
  8. tool_type = 2
  9. [node name="StaticMesh" parent="RotationPoint" index="1"]
  10. mesh = ExtResource("3_43vpx")
  11. surface_material_override/0 = ExtResource("4_0wiig")
  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"]