AltParty2024/entities/shape_dance.tscn
2024-10-09 00:33:41 +03:00

49 lines
1.6 KiB
Text

[gd_scene load_steps=8 format=3 uid="uid://lcp4gqi6nigy"]
[ext_resource type="Script" path="res://scripts/shape_dance.gd" id="1_g2fd3"]
[ext_resource type="Shader" path="res://assets/shaders/ShapeDanceShapes.gdshader" id="2_jw15c"]
[sub_resource type="Curve3D" id="Curve3D_kx25u"]
_data = {
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 0, 0, 0, -6.635, 0, 14.74, 0, 0, 0, 60, 0, 1.8),
"tilts": PackedFloat32Array(0, 0)
}
point_count = 2
[sub_resource type="ShaderMaterial" id="ShaderMaterial_r1n2u"]
render_priority = 0
shader = ExtResource("2_jw15c")
[sub_resource type="BoxMesh" id="BoxMesh_ysqih"]
material = SubResource("ShaderMaterial_r1n2u")
[sub_resource type="Sky" id="Sky_ux7r0"]
[sub_resource type="Environment" id="Environment_1wa4s"]
background_mode = 2
sky = SubResource("Sky_ux7r0")
[node name="ShapeDance" type="Node3D"]
script = ExtResource("1_g2fd3")
amount = 20
offset = 2.8
shape_shader = ExtResource("2_jw15c")
[node name="Path" type="Path3D" parent="."]
curve = SubResource("Curve3D_kx25u")
[node name="PathFollow3D" type="PathFollow3D" parent="Path"]
transform = Transform3D(-0.0299847, 0, -0.999484, 0, 0.999932, 0, 0.999487, 0, -0.0299846, 0, 0, 0)
[node name="MeshInstance3D" type="MeshInstance3D" parent="Path/PathFollow3D"]
mesh = SubResource("BoxMesh_ysqih")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(0.394721, 0.132523, -0.909194, -0.0542735, 0.991179, 0.120911, 0.917197, 0.00161915, 0.398431, -0.411877, 1.41195, 2.2298)
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_1wa4s")
[node name="ShowLight" type="DirectionalLight3D" parent="."]
visible = false