NPCs can now carry objects.
This commit is contained in:
parent
a6c9909f26
commit
c0d3c68fb3
8 changed files with 130 additions and 23 deletions
|
@ -1,15 +1,26 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://bsghm187n6ykx"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://bsghm187n6ykx"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/maps/carryable/carryable.gd" id="1_ma8bn"]
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_qilbd"]
|
||||
size = Vector3(1, 2, 1)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_by26a"]
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_2lhrk"]
|
||||
size = Vector3(1, 2, 1)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_by26a"]
|
||||
size = Vector3(1.5, 2, 1.5)
|
||||
|
||||
[node name="Closet" type="RigidBody3D"]
|
||||
script = ExtResource("1_ma8bn")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
mesh = SubResource("BoxMesh_qilbd")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("BoxShape3D_2lhrk")
|
||||
|
||||
[node name="Area3D" type="Area3D" parent="."]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
|
||||
shape = SubResource("BoxShape3D_by26a")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue