2023-12-20 02:54:22 +02:00
|
|
|
[gd_scene load_steps=13 format=3 uid="uid://eecv28y6jxk4"]
|
2023-10-16 20:10:20 +03:00
|
|
|
|
2023-10-23 00:01:06 +03:00
|
|
|
[ext_resource type="PackedScene" uid="uid://clc5dre31iskm" path="res://addons/godot-xr-tools/xr/start_xr.tscn" id="1_i4c04"]
|
2023-11-05 16:16:07 +02:00
|
|
|
[ext_resource type="Script" path="res://content/main.gd" id="1_uvrd4"]
|
2023-11-22 02:44:07 +02:00
|
|
|
[ext_resource type="PackedScene" uid="uid://b30w6tywfj4fp" path="res://content/system/controller_left/controller_left.tscn" id="2_2lraw"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://d3f8glx1xgm5w" path="res://content/system/raycast/raycast.tscn" id="3_67lii"]
|
2023-11-27 01:23:19 +02:00
|
|
|
[ext_resource type="PackedScene" uid="uid://bsx12q23v8apy" path="res://content/system/hands/hands.tscn" id="4_v8xu6"]
|
2023-11-02 02:22:48 +02:00
|
|
|
[ext_resource type="PackedScene" uid="uid://ctltchlf2j2r4" path="res://addons/xr-simulator/XRSimulator.tscn" id="5_3qc8g"]
|
|
|
|
[ext_resource type="Material" uid="uid://bf5ina366dwm6" path="res://assets/materials/sky.material" id="5_wgwf8"]
|
2023-11-22 18:07:28 +02:00
|
|
|
[ext_resource type="PackedScene" uid="uid://lrehk38exd5n" path="res://content/system/keyboard/keyboard.tscn" id="9_e5n3p"]
|
2023-10-23 02:58:18 +03:00
|
|
|
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_m58yb"]
|
|
|
|
ao_enabled = true
|
2023-10-23 00:01:06 +03:00
|
|
|
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_ir3co"]
|
2023-10-23 02:58:18 +03:00
|
|
|
material = SubResource("StandardMaterial3D_m58yb")
|
|
|
|
size = Vector3(0.01, 0.01, 0.01)
|
2023-10-23 00:01:06 +03:00
|
|
|
|
|
|
|
[sub_resource type="Sky" id="Sky_vhymk"]
|
2023-11-02 02:22:48 +02:00
|
|
|
sky_material = ExtResource("5_wgwf8")
|
2023-10-23 00:01:06 +03:00
|
|
|
|
|
|
|
[sub_resource type="Environment" id="Environment_7ghp0"]
|
2023-10-23 02:58:18 +03:00
|
|
|
background_mode = 2
|
|
|
|
background_color = Color(0.466667, 0.47451, 0.462745, 0)
|
2023-10-23 00:01:06 +03:00
|
|
|
sky = SubResource("Sky_vhymk")
|
2023-10-23 02:58:18 +03:00
|
|
|
ambient_light_color = Color(1, 1, 1, 1)
|
|
|
|
ambient_light_sky_contribution = 0.72
|
2023-11-25 02:46:41 +02:00
|
|
|
ssao_radius = 6.52
|
|
|
|
ssao_intensity = 5.68
|
2023-10-16 20:10:20 +03:00
|
|
|
|
|
|
|
[node name="Main" type="Node3D"]
|
2023-11-02 02:22:48 +02:00
|
|
|
transform = Transform3D(1, -0.000296142, 0.000270963, 0.000296143, 1, -4.61078e-06, -0.000270962, 4.67014e-06, 1, 0, 0, 0)
|
|
|
|
script = ExtResource("1_uvrd4")
|
2023-10-16 20:10:20 +03:00
|
|
|
|
|
|
|
[node name="XROrigin3D" type="XROrigin3D" parent="."]
|
|
|
|
|
|
|
|
[node name="XRCamera3D" type="XRCamera3D" parent="XROrigin3D"]
|
2023-12-01 22:37:36 +02:00
|
|
|
transform = Transform3D(1, 1.8976e-10, 4.07454e-10, 6.76872e-11, 1, 2.08734e-08, -5.82077e-11, 1.09139e-11, 1, 0.0356618, 0.71033, 0.00564247)
|
|
|
|
cull_mask = 524287
|
2023-11-29 23:43:59 +02:00
|
|
|
current = true
|
2023-10-16 20:10:20 +03:00
|
|
|
|
2023-11-20 00:58:26 +02:00
|
|
|
[node name="XRControllerLeft" parent="XROrigin3D" instance=ExtResource("2_2lraw")]
|
|
|
|
transform = Transform3D(0.999999, -1.39633e-11, 0, 9.48075e-12, 1, 0, 0, 0, 1, -0.355145, 0.550439, -0.477945)
|
2023-10-30 02:21:50 +02:00
|
|
|
|
2023-10-23 00:01:06 +03:00
|
|
|
[node name="XRControllerRight" type="XRController3D" parent="XROrigin3D"]
|
2023-11-23 00:59:46 +02:00
|
|
|
transform = Transform3D(0.999999, -1.39633e-11, 0, 9.48075e-12, 1, 0, 0, 0, 1, 0.272616, 0.559282, -0.468369)
|
2023-10-16 20:10:20 +03:00
|
|
|
tracker = &"right_hand"
|
|
|
|
pose = &"aim"
|
|
|
|
|
2023-10-23 00:01:06 +03:00
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="XROrigin3D/XRControllerRight"]
|
|
|
|
mesh = SubResource("BoxMesh_ir3co")
|
2023-10-16 20:10:20 +03:00
|
|
|
|
2023-11-22 02:44:07 +02:00
|
|
|
[node name="Raycast" parent="XROrigin3D/XRControllerRight" instance=ExtResource("3_67lii")]
|
2023-11-11 19:17:25 +02:00
|
|
|
|
2023-11-27 01:23:19 +02:00
|
|
|
[node name="Hands" parent="XROrigin3D" node_paths=PackedStringArray("ray_left", "ray_right") instance=ExtResource("4_v8xu6")]
|
2023-11-28 00:46:05 +02:00
|
|
|
transform = Transform3D(0.999968, -1.39576e-11, 0, 9.52038e-12, 0.999984, -2.59206e-11, -2.91038e-11, 5.22959e-11, 0.999984, 0, 0, 0)
|
2023-11-27 01:23:19 +02:00
|
|
|
ray_left = NodePath("../XRControllerLeft/Raycast")
|
|
|
|
ray_right = NodePath("../XRControllerRight/Raycast")
|
|
|
|
|
2023-10-23 00:01:06 +03:00
|
|
|
[node name="StartXR" parent="." instance=ExtResource("1_i4c04")]
|
2023-10-16 20:10:20 +03:00
|
|
|
enable_passthrough = true
|
2023-10-23 00:01:06 +03:00
|
|
|
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
|
|
environment = SubResource("Environment_7ghp0")
|
|
|
|
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
2023-10-23 02:58:18 +03:00
|
|
|
transform = Transform3D(0.834925, -0.386727, -0.39159, 0.550364, 0.586681, 0.594058, 0, -0.711511, 0.702675, 0, 7.21041, 2.06458)
|
|
|
|
shadow_enabled = true
|
2023-11-02 02:22:48 +02:00
|
|
|
|
|
|
|
[node name="XRSimulator" parent="." instance=ExtResource("5_3qc8g")]
|
|
|
|
xr_origin = NodePath("../XROrigin3D")
|
2023-11-12 02:59:13 +02:00
|
|
|
|
2023-11-22 02:44:07 +02:00
|
|
|
[node name="Keyboard" parent="." instance=ExtResource("9_e5n3p")]
|
2023-11-23 00:59:46 +02:00
|
|
|
transform = Transform3D(0.499999, -6.98142e-12, 0, 4.74065e-12, 0.5, -2.27374e-13, 0, 2.27374e-13, 0.5, -0.125313, 0.424282, -0.263966)
|
2023-11-27 01:23:19 +02:00
|
|
|
|
2023-12-09 22:45:18 +02:00
|
|
|
[node name="Rooms" type="Node3D" parent="."]
|
|
|
|
|
2023-11-27 01:23:19 +02:00
|
|
|
[editable path="XROrigin3D/XRControllerLeft"]
|