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

22 lines
865 B
Text

[gd_scene load_steps=4 format=3 uid="uid://csksipejvudcq"]
[ext_resource type="Script" path="res://scripts/npc/npc_path_follow.gd" id="1_ewvyw"]
[ext_resource type="PackedScene" uid="uid://w7b5g4cs535r" path="res://prefabs/npcs/npc_4.tscn" id="2_8ioua"]
[sub_resource type="Curve3D" id="Curve3D_khpsd"]
resource_local_to_scene = true
[node name="NpcPath" type="Path3D"]
curve = SubResource("Curve3D_khpsd")
script = ExtResource("1_ewvyw")
character_id = "Character4"
[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_8ioua")]
transform = Transform3D(-1.31134e-07, 0, -3, 0, 3, 0, 3, 0, -1.31134e-07, 0, 0, 0)