Figments-of-the-Night/prefabs/npcs/npc_3_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://c4or0bgl5mx8p"]
[ext_resource type="Script" path="res://scripts/npc/npc_path_follow.gd" id="1_oe08w"]
[ext_resource type="PackedScene" uid="uid://5ybtk21ub4s5" path="res://prefabs/npcs/npc_3.tscn" id="2_kjbpv"]
[sub_resource type="Curve3D" id="Curve3D_khpsd"]
resource_local_to_scene = true
[node name="NpcPath" type="Path3D"]
curve = SubResource("Curve3D_khpsd")
script = ExtResource("1_oe08w")
character_id = "Character3"
[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_kjbpv")]
transform = Transform3D(-8.74228e-08, 0, -2, 0, 2, 0, 2, 0, -8.74228e-08, 0, 0, 0)