monsterfangen/entities/healing_station/healing_station.tscn

34 lines
1.3 KiB
Text

[gd_scene load_steps=5 format=3 uid="uid://dibg4wpthwdov"]
[ext_resource type="Script" path="res://entities/healing_station/healing_station.gd" id="1_7biqd"]
[ext_resource type="ArrayMesh" uid="uid://dotngcuyvdg1v" path="res://assets/models/environment/kenney_nature-kit/bed.obj" id="2_m00qm"]
[sub_resource type="BoxShape3D" id="BoxShape3D_qkiex"]
size = Vector3(0.358923, 0.296997, 0.806982)
[sub_resource type="CylinderShape3D" id="CylinderShape3D_3nvn0"]
height = 1.0
radius = 1.1
[node name="HealingStation" type="Node3D"]
script = ExtResource("1_7biqd")
[node name="Bed" type="MeshInstance3D" parent="."]
mesh = ExtResource("2_m00qm")
[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.0159729, 0.148499, -0.0114014)
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, 0, 0.5, 0)
shape = SubResource("CylinderShape3D_3nvn0")
[connection signal="body_entered" from="InteractableArea" to="." method="_on_area_3d_body_entered"]