SlimeoosOdyssey/godot/villager_shared.tscn

18 lines
667 B
Plaintext

[gd_scene load_steps=4 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_0wi6w"]
radius = 0.1
[node name="villager" instance=ExtResource("1_qm1jp")]
script = ExtResource("2_uf6mh")
[node name="Area3D" type="Area3D" parent="." index="2"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D" index="0"]
shape = SubResource("SphereShape3D_0wi6w")
[connection signal="body_entered" from="Area3D" to="." method="_on_area_3d_body_entered"]