hotel-madness/scenes/entities/npc.tscn

41 lines
1.2 KiB
Text
Raw Permalink Normal View History

[gd_scene load_steps=6 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"]
[sub_resource type="BoxShape3D" id="BoxShape3D_wyrst"]
size = Vector3(3, 2, 3)
[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
[node name="Timer" type="Timer" parent="."]
2024-12-13 18:28:06 +01:00
[node name="Label3D" type="Label3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.25, 0)
pixel_size = 0.01
billboard = 1
no_depth_test = true
[node name="Area3D" type="Area3D" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
shape = SubResource("BoxShape3D_wyrst")