-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathnpc_template.tscn
24 lines (17 loc) · 902 Bytes
/
npc_template.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[gd_scene load_steps=4 format=3 uid="uid://dj6sa6ksct1xi"]
[ext_resource type="Script" path="res://addons/skelerealms/scripts/puppets/npc_puppet.gd" id="2_fw0xe"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_utii8"]
[sub_resource type="CapsuleMesh" id="CapsuleMesh_s5g5c"]
[node name="CharacterBody3D" type="CharacterBody3D" groups=["look_target"]]
collision_layer = 17
script = ExtResource("2_fw0xe")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("CapsuleShape3D_utii8")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
mesh = SubResource("CapsuleMesh_s5g5c")
[node name="NavigationAgent3D" type="NavigationAgent3D" parent="."]
path_desired_distance = 0.5
target_desired_distance = 0.5
avoidance_enabled = true