scpcb-godot/scenes/world/XrSetup.tscn
2025-03-07 02:44:40 +00:00

41 lines
1.3 KiB
Text

[gd_scene load_steps=5 format=3 uid="uid://bxibyn63ycvwo"]
[ext_resource type="Script" uid="uid://cr0a5b6avy81f" path="res://src/XRSetup.gd" id="1_wg80d"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_547rj"]
resource_local_to_scene = true
transparency = 1
shading_mode = 0
texture_filter = 0
[sub_resource type="PlaneMesh" id="PlaneMesh_737xf"]
material = SubResource("StandardMaterial3D_547rj")
size = Vector2(1, 0.563)
[sub_resource type="CapsuleMesh" id="CapsuleMesh_vwp3e"]
radius = 0.0025
height = 0.05
[node name="XrOrigin" type="XROrigin3D"]
world_scale = 0.5
script = ExtResource("1_wg80d")
[node name="XRCamera3D" type="XRCamera3D" parent="."]
[node name="Screen" type="MeshInstance3D" parent="XRCamera3D"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, -0.75)
visible = false
mesh = SubResource("PlaneMesh_737xf")
[node name="XRControllerL" type="XRController3D" parent="."]
tracker = &"left_hand"
[node name="MeshInstance3D" type="MeshInstance3D" parent="XRControllerL"]
mesh = SubResource("CapsuleMesh_vwp3e")
[node name="XRControllerR" type="XRController3D" parent="."]
tracker = &"right_hand"
[node name="MeshInstance3D2" type="MeshInstance3D" parent="XRControllerR"]
mesh = SubResource("CapsuleMesh_vwp3e")
skeleton = NodePath("../../XRControllerL")