FantasyRun/Tiles/Tile1.tscn
2024-09-30 20:50:05 -07:00

45 lines
1.4 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://cvtgigpmwwv4g"]
[ext_resource type="Script" path="res://Tiles/Tile.gd" id="1_wu32c"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_cwetn"]
cull_mode = 2
[sub_resource type="PlaneMesh" id="PlaneMesh_jju0s"]
material = SubResource("StandardMaterial3D_cwetn")
size = Vector2(10, 10)
[sub_resource type="PlaneMesh" id="PlaneMesh_rsriu"]
material = SubResource("StandardMaterial3D_cwetn")
size = Vector2(2, 10)
[sub_resource type="Curve3D" id="Curve3D_q1k88"]
_data = {
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, -5),
"tilts": PackedFloat32Array(0, 0)
}
point_count = 2
[node name="Tile1" type="Node3D"]
script = ExtResource("1_wu32c")
[node name="Floor" type="MeshInstance3D" parent="."]
mesh = SubResource("PlaneMesh_jju0s")
[node name="Wall1" type="MeshInstance3D" parent="."]
transform = Transform3D(-4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0, 1, -5, 1, 0)
mesh = SubResource("PlaneMesh_rsriu")
[node name="Wall2" type="MeshInstance3D" parent="."]
transform = Transform3D(-4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0, 1, 5, 1, 0)
mesh = SubResource("PlaneMesh_rsriu")
[node name="MainPath" type="Path3D" parent="."]
curve = SubResource("Curve3D_q1k88")
[node name="Follow" type="PathFollow3D" parent="MainPath"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 5)
rotation_mode = 1
loop = false
tilt_enabled = false