Setup main scene for XR
This commit is contained in:
parent
432dca80d0
commit
e3b6c3f501
6 changed files with 1820 additions and 1 deletions
42
project/main-xr.tscn
Normal file
42
project/main-xr.tscn
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://cx82op4eecbwr"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cx30pr7kn4c74" path="res://aircraft.gd" id="1_hips3"]
|
||||
[ext_resource type="PackedScene" uid="uid://qbmx03iibuuu" path="res://addons/godot-xr-tools/staging/scene_base.tscn" id="1_k0lu6"]
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_2w36v"]
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_4tcqf"]
|
||||
|
||||
[sub_resource type="Sky" id="Sky_0xm2m"]
|
||||
sky_material = SubResource("ProceduralSkyMaterial_4tcqf")
|
||||
|
||||
[sub_resource type="Environment" id="Environment_jdgxj"]
|
||||
background_mode = 2
|
||||
sky = SubResource("Sky_0xm2m")
|
||||
|
||||
[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_fpvso"]
|
||||
|
||||
[node name="SceneBase" instance=ExtResource("1_k0lu6")]
|
||||
|
||||
[node name="XROrigin3D" parent="." index="0"]
|
||||
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, -3)
|
||||
|
||||
[node name="MarshConnector" type="MarshConnector" parent="." index="1"]
|
||||
process_mode = 0
|
||||
|
||||
[node name="Aircraft" type="Node3D" parent="." index="2" node_paths=PackedStringArray("connector")]
|
||||
script = ExtResource("1_hips3")
|
||||
connector = NodePath("../MarshConnector")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="Aircraft" index="0"]
|
||||
mesh = SubResource("BoxMesh_2w36v")
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="." index="3"]
|
||||
transform = Transform3D(-1, -2.26267e-08, 8.44439e-08, 0, 0.965926, 0.258819, -8.74228e-08, 0.258819, -0.965926, 0, 1, -3)
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." index="4"]
|
||||
transform = Transform3D(-0.707107, -0.683013, 0.183013, 0, 0.258819, 0.965926, -0.707107, 0.683013, -0.183013, 3, 3, 3)
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="." index="5"]
|
||||
environment = SubResource("Environment_jdgxj")
|
||||
camera_attributes = SubResource("CameraAttributesPractical_fpvso")
|
||||
Loading…
Add table
Add a link
Reference in a new issue