25 lines
812 B
Text
25 lines
812 B
Text
|
[gd_scene load_steps=5 format=3 uid="uid://cvnjpnvchvakj"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://scripts/entities/npc.gd" id="1_jvyx6"]
|
||
|
|
||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_e5nrh"]
|
||
|
albedo_color = Color(1, 0, 0, 1)
|
||
|
|
||
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_qcrlh"]
|
||
|
material = SubResource("StandardMaterial3D_e5nrh")
|
||
|
|
||
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_am313"]
|
||
|
|
||
|
[node name="Npc" type="CharacterBody3D"]
|
||
|
script = ExtResource("1_jvyx6")
|
||
|
|
||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||
|
mesh = SubResource("CapsuleMesh_qcrlh")
|
||
|
|
||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||
|
shape = SubResource("CapsuleShape3D_am313")
|
||
|
|
||
|
[node name="NavigationAgent3D" type="NavigationAgent3D" parent="."]
|
||
|
avoidance_enabled = true
|
||
|
height = 2.0
|