monsterfangen/entities/healing_station/healing_station.tscn

32 lines
1.1 KiB
Text

[gd_scene load_steps=4 format=3 uid="uid://dibg4wpthwdov"]
[ext_resource type="Script" path="res://entities/healing_station/healing_station.gd" id="1_7biqd"]
[sub_resource type="BoxShape3D" id="BoxShape3D_qkiex"]
size = Vector3(3.6, 2.5, 2.6)
[sub_resource type="CylinderShape3D" id="CylinderShape3D_3nvn0"]
height = 1.0
radius = 1.1
[node name="HealingStation" type="Node3D"]
script = ExtResource("1_7biqd")
[node name="Mesh" type="Node3D" parent="."]
[node name="Collision" type="StaticBody3D" parent="."]
collision_layer = 2
collision_mask = 5
[node name="CollisionShape3D" type="CollisionShape3D" parent="Collision"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.25, 0)
shape = SubResource("BoxShape3D_qkiex")
[node name="InteractableArea" type="Area3D" parent="."]
collision_layer = 8
[node name="CollisionShape3D" type="CollisionShape3D" parent="InteractableArea"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.6, 0.5, 0)
shape = SubResource("CylinderShape3D_3nvn0")
[connection signal="body_entered" from="InteractableArea" to="." method="_on_area_3d_body_entered"]