xrjamfeb2025/scenes/xr_origin_3d.tscn

72 lines
2.9 KiB
Text

[gd_scene load_steps=10 format=3 uid="uid://7uc6tf2tvn1k"]
[ext_resource type="PackedScene" uid="uid://bq86r4yll8po" path="res://addons/godot-xr-tools/hands/scenes/lowpoly/left_fullglove_low.tscn" id="1_gehoc"]
[ext_resource type="PackedScene" uid="uid://b4ysuy43poobf" path="res://addons/godot-xr-tools/functions/function_pickup.tscn" id="2_sqnjc"]
[ext_resource type="PackedScene" uid="uid://xqimcf20s2jp" path="res://addons/godot-xr-tools/hands/scenes/lowpoly/right_fullglove_low.tscn" id="3_7rd4f"]
[ext_resource type="PackedScene" uid="uid://cqhw276realc" path="res://addons/godot-xr-tools/functions/function_pointer.tscn" id="3_gwcr3"]
[ext_resource type="PackedScene" uid="uid://dg3gr6ofd8yx4" path="res://addons/godot-xr-tools/functions/movement_world_grab.tscn" id="4_ou5a5"]
[ext_resource type="PackedScene" uid="uid://diyu06cw06syv" path="res://addons/godot-xr-tools/player/player_body.tscn" id="5_ug2p8"]
[ext_resource type="Script" path="res://addons/godot-xr-tools/overrides/ground_physics_settings.gd" id="6_2gwa8"]
[ext_resource type="PackedScene" uid="uid://6uusxts6n6gm" path="res://addons/godot-xr-tools/desktop-support/movement_desktop_direct.tscn" id="7_wvixp"]
[sub_resource type="Resource" id="Resource_117uy"]
script = ExtResource("6_2gwa8")
flags = 0
move_drag = 5.0
move_traction = 30.0
stop_on_slope = true
move_max_slope = 45.0
jump_max_slope = 45.0
jump_velocity = 3.0
bounciness = 0.0
bounce_threshold = 1.0
[node name="XROrigin3D" type="XROrigin3D"]
[node name="XRCamera3D" type="XRCamera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.72, 0)
cull_mask = 524287
[node name="AudioListener3D" type="AudioListener3D" parent="XRCamera3D"]
current = true
[node name="LeftHand" type="XRController3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.25, 1, 0)
tracker = &"left_hand"
[node name="LeftHand" parent="LeftHand" instance=ExtResource("1_gehoc")]
[node name="FunctionPickup" parent="LeftHand" instance=ExtResource("2_sqnjc")]
grab_distance = 0.1
ranged_enable = false
[node name="FunctionPointer" parent="LeftHand" instance=ExtResource("3_gwcr3")]
show_laser = 2
laser_length = 1
[node name="RightHand" type="XRController3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.25, 1, 0)
tracker = &"right_hand"
[node name="RightHand" parent="RightHand" instance=ExtResource("3_7rd4f")]
[node name="FunctionPickup" parent="RightHand" instance=ExtResource("2_sqnjc")]
grab_distance = 0.1
ranged_enable = false
[node name="FunctionPointer" parent="RightHand" instance=ExtResource("3_gwcr3")]
show_laser = 2
laser_length = 1
[node name="MovementWorldGrab" parent="." instance=ExtResource("4_ou5a5")]
order = 5
world_scale_min = 0.01
world_scale_max = 10.0
[node name="PlayerBody" parent="." instance=ExtResource("5_ug2p8")]
collision_mask = 0
motion_mode = 1
push_rigid_bodies = false
physics = SubResource("Resource_117uy")
[node name="MovementDesktopDirect" parent="." instance=ExtResource("7_wvixp")]