27 lines
1017 B
Plaintext
27 lines
1017 B
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://c4s6y758n77lw"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dmtmign72vtlm" path="res://slime_shared.tscn" id="1_qm1jp"]
|
|
[ext_resource type="Script" path="res://Villager.gd" id="2_uf6mh"]
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_k5rhc"]
|
|
radius = 0.055
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_wx128"]
|
|
radius = 0.1
|
|
|
|
[node name="villager" instance=ExtResource("1_qm1jp")]
|
|
script = ExtResource("2_uf6mh")
|
|
|
|
[node name="CollisionDetection" type="Area3D" parent="." index="2"]
|
|
|
|
[node name="slime_collision" type="CollisionShape3D" parent="CollisionDetection" index="0"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0408143, 0)
|
|
shape = SubResource("SphereShape3D_k5rhc")
|
|
|
|
[node name="Area3D" type="Area3D" parent="." index="3"]
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D" index="0"]
|
|
shape = SubResource("SphereShape3D_wx128")
|
|
|
|
[connection signal="body_entered" from="Area3D" to="." method="_on_area_3d_body_entered"]
|