added models and changed spawnpoint
This commit is contained in:
parent
2cf0846597
commit
877ebafc74
1007 changed files with 120779 additions and 37 deletions
5
entities/healing_station/healing_station.gd
Normal file
5
entities/healing_station/healing_station.gd
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
extends Node3D
|
||||
|
||||
func _on_area_3d_body_entered(body: Node3D) -> void:
|
||||
print("%s entered" % body.name)
|
||||
pass # Replace with function body.
|
||||
32
entities/healing_station/healing_station.tscn
Normal file
32
entities/healing_station/healing_station.tscn
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
[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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue