lab-electrolyte/scenes/lab.tscn
2025-12-19 11:16:31 +05:00

41 lines
1.7 KiB
Text

[gd_scene load_steps=6 format=3 uid="uid://c7r4rhgj3ucao"]
[ext_resource type="Script" uid="uid://crjao0jjv5yqs" path="res://src/drag/draggable_camera.gd" id="1_hem3r"]
[ext_resource type="PackedScene" uid="uid://dfxlr4svnsdyx" path="res://scenes/ui.tscn" id="3_hflkp"]
[ext_resource type="Environment" uid="uid://clgblxkcf822n" path="res://assets/Environment.tres" id="8_4kvtl"]
[sub_resource type="BoxMesh" id="BoxMesh_cbcd7"]
size = Vector3(4, 1, 2)
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_hflkp"]
[node name="Lab" type="Node3D"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(2.4088485, 0, 0, 0, 1, 0, 0, 0, 2.8214846, 0, 0, 0)
mesh = SubResource("BoxMesh_cbcd7")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.86602545, 0.5, 0, -0.5, 0.8660253, -1.236948, 2.5364435, 3.1829531)
script = ExtResource("1_hem3r")
[node name="DragRaycast" type="RayCast3D" parent="Camera3D"]
target_position = Vector3(0, 0, -10)
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.8403207, 0.5420896, 0, -0.5420896, 0.8403207, 0, 1.9293891, 0)
shadow_enabled = true
[node name="UI" type="CanvasLayer" parent="."]
layer = 100
[node name="UserInterface" parent="UI" instance=ExtResource("3_hflkp")]
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = ExtResource("8_4kvtl")
[node name="StaticBody3D" type="StaticBody3D" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
shape = SubResource("WorldBoundaryShape3D_hflkp")