Figments-of-the-Night/prefabs/npcs/npc_1_path.tscn
Gerard Gascón b99855351d init
2025-04-24 17:23:34 +02:00

22 lines
864 B
Text

[gd_scene load_steps=4 format=3 uid="uid://hdhmwophhre7"]
[ext_resource type="Script" path="res://scripts/npc/npc_path_follow.gd" id="1_t6tnb"]
[ext_resource type="PackedScene" uid="uid://jas4bhpuc3id" path="res://prefabs/npcs/npc_1.tscn" id="2_hocol"]
[sub_resource type="Curve3D" id="Curve3D_khpsd"]
resource_local_to_scene = true
[node name="NpcPath" type="Path3D"]
curve = SubResource("Curve3D_khpsd")
script = ExtResource("1_t6tnb")
character_id = "Character1"
[node name="PathFollow3D" type="PathFollow3D" parent="."]
transform = Transform3D(-0.0148199, 0, 0.999865, 0, 1, 0, -0.999865, 0, -0.0148199, 0, 0, 0)
rotation_mode = 1
use_model_front = true
loop = false
tilt_enabled = false
[node name="CharacterBody3D" parent="PathFollow3D" instance=ExtResource("2_hocol")]
transform = Transform3D(-8.74228e-08, 0, -2, 0, 2, 0, 2, 0, -8.74228e-08, 0, 0, 0)