[gd_scene load_steps=8 format=2]

[ext_resource path="res://3d_platforma/texture_08.png" type="Texture" id=1]
[ext_resource path="res://3d_platforma/sqare_norm.png" type="Texture" id=2]

[sub_resource type="SpatialMaterial" id=36]
resource_name = "CheckerGrid"
albedo_color = Color( 0.85, 0.85, 0.85, 1 )
albedo_texture = ExtResource( 1 )
roughness = 0.85
uv1_triplanar = true

[sub_resource type="OpenSimplexNoise" id=28]
octaves = 2
period = 0.8

[sub_resource type="NoiseTexture" id=29]
flags = 3
width = 32
height = 32
noise = SubResource( 28 )

[sub_resource type="SpatialMaterial" id=22]
albedo_color = Color( 0.478431, 0.235294, 0.486275, 1 )
roughness = 0.5
roughness_texture = SubResource( 29 )
normal_enabled = true
normal_scale = 1.0
normal_texture = ExtResource( 2 )
uv1_scale = Vector3( 3, 3, 3 )
uv1_triplanar = true

[sub_resource type="Animation" id=37]
resource_name = "move"
length = 30.0
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath(".:translation:y")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 10, 30 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ 0.0, 10.0, 0.0 ]
}

[node name="platforms_slow" type="Spatial"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.1, 0 )

[node name="Ring" type="CSGPolygon" parent="."]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 1, -2.37128 )
use_collision = true
polygon = PoolVector2Array( 3, 0, 3.37031, 1.2588, 4.15364, 1.29316, 4, 0 )
mode = 1
spin_degrees = 360.0
spin_sides = 16
material = SubResource( 36 )

[node name="ramp2" type="CSGBox" parent="."]
transform = Transform( 1, 0, 0, 0, 0.984808, -0.173648, 0, 0.173648, 0.984808, 0, -0.9, -2 )
use_collision = true
width = 2.4
height = 0.4
depth = 4.0
material = SubResource( 22 )

[node name="pickup" type="CSGBox" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, -15.5713 )
use_collision = true
width = 2.2
height = 0.6
depth = 4.0
material = SubResource( 22 )

[node name="lift" type="Spatial" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 8, -0.4, -16 )
visible = false

[node name="platform" type="CSGBox" parent="lift"]
use_collision = true
width = 4.0
height = 1.0
depth = 4.0
material = SubResource( 36 )

[node name="AnimationPlayer" type="AnimationPlayer" parent="lift/platform"]
autoplay = "move"
anims/move = SubResource( 37 )

[node name="CSGCylinder" type="CSGCylinder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, -7 )
use_collision = true
radius = 2.0
height = 0.2
sides = 11
