[gd_scene load_steps=9 format=3 uid="uid://cw86rc42dv2d8"] [ext_resource type="Script" path="res://content/entities/light/light.gd" id="1_ykxy3"] [ext_resource type="Script" path="res://content/functions/movable.gd" id="4_4sfxb"] [ext_resource type="Material" uid="uid://vce66e7sbc3n" path="res://content/entities/light/light_on.tres" id="5_50gph"] [ext_resource type="PackedScene" uid="uid://pk5k1q8bx0rj" path="res://content/ui/components/slider/slider.tscn" id="6_mhjlm"] [sub_resource type="SphereShape3D" id="SphereShape3D_ukj14"] radius = 0.05 [sub_resource type="Animation" id="Animation_afofi"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("CSGCombiner3D:material_override:albedo_color") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Color(1, 0.85098, 0, 1)] } [sub_resource type="Animation" id="Animation_7o31s"] resource_name = "light" length = 0.3 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("CSGCombiner3D:material_override:albedo_color") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.3), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Color(1, 0.85098, 0, 1), Color(0.231373, 0.231373, 0.231373, 1)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_8a76q"] _data = { "RESET": SubResource("Animation_afofi"), "light": SubResource("Animation_7o31s") } [node name="Light" type="StaticBody3D" groups=["entity"]] collision_mask = 0 script = ExtResource("1_ykxy3") [node name="CollisionShape3D" type="CollisionShape3D" parent="."] shape = SubResource("SphereShape3D_ukj14") [node name="Movable" type="Node" parent="."] script = ExtResource("4_4sfxb") [node name="CSGCombiner3D" type="CSGCombiner3D" parent="."] transform = Transform3D(1, 9.69949e-05, 0.000589194, -9.77749e-05, 0.999999, 0.00135802, -0.000589065, -0.00135808, 0.999999, 0, 0, 0) material_override = ExtResource("5_50gph") [node name="CSGSphere3D" type="CSGSphere3D" parent="CSGCombiner3D"] radius = 0.05 radial_segments = 36 rings = 12 [node name="CSGCylinder3D" type="CSGCylinder3D" parent="CSGCombiner3D"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0485739, 0) radius = 0.02 height = 0.03 sides = 36 [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { "": SubResource("AnimationLibrary_8a76q") } [node name="Slider" parent="." instance=ExtResource("6_mhjlm")] transform = Transform3D(-4.37114e-08, 1, 0, 1, 4.37114e-08, 8.74228e-08, 8.74228e-08, 3.82137e-15, -1, 0.00190757, -0.00579122, -0.0914348) max = 100.0 value = 100.0 step = 1.0 size = Vector3(10, 0.4, 1)