xrjamfeb2025/scenes/player_rig.tscn
2025-02-11 18:49:58 -07:00

56 lines
2.5 KiB
Text

[gd_scene load_steps=9 format=3 uid="uid://4aglyx1y67kh"]
[ext_resource type="PackedScene" uid="uid://bq86r4yll8po" path="res://addons/godot-xr-tools/hands/scenes/lowpoly/left_fullglove_low.tscn" id="1_20jn5"]
[ext_resource type="PackedScene" uid="uid://b4ysuy43poobf" path="res://addons/godot-xr-tools/functions/function_pickup.tscn" id="2_cnhbw"]
[ext_resource type="PackedScene" uid="uid://xqimcf20s2jp" path="res://addons/godot-xr-tools/hands/scenes/lowpoly/right_fullglove_low.tscn" id="3_rvq1d"]
[ext_resource type="PackedScene" uid="uid://dg3gr6ofd8yx4" path="res://addons/godot-xr-tools/functions/movement_world_grab.tscn" id="4_3s67p"]
[ext_resource type="PackedScene" uid="uid://diyu06cw06syv" path="res://addons/godot-xr-tools/player/player_body.tscn" id="5_bs6i8"]
[ext_resource type="Script" path="res://addons/godot-xr-tools/overrides/ground_physics_settings.gd" id="6_hpams"]
[ext_resource type="PackedScene" uid="uid://6uusxts6n6gm" path="res://addons/godot-xr-tools/desktop-support/movement_desktop_direct.tscn" id="6_k7epg"]
[sub_resource type="Resource" id="Resource_117uy"]
script = ExtResource("6_hpams")
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="PlayerRig" type="Node3D"]
[node name="XROrigin3D" type="XROrigin3D" parent="."]
[node name="XRCamera3D" type="XRCamera3D" parent="XROrigin3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.72, 0)
[node name="LeftHand" type="XRController3D" parent="XROrigin3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.25, 1, 0)
tracker = &"left_hand"
[node name="LeftHand" parent="XROrigin3D/LeftHand" instance=ExtResource("1_20jn5")]
[node name="FunctionPickup" parent="XROrigin3D/LeftHand" instance=ExtResource("2_cnhbw")]
[node name="RightHand" type="XRController3D" parent="XROrigin3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.25, 1, 0)
tracker = &"right_hand"
[node name="RightHand" parent="XROrigin3D/RightHand" instance=ExtResource("3_rvq1d")]
[node name="FunctionPickup" parent="XROrigin3D/RightHand" instance=ExtResource("2_cnhbw")]
[node name="MovementWorldGrab" parent="XROrigin3D" instance=ExtResource("4_3s67p")]
order = 5
world_scale_min = 0.01
world_scale_max = 10.0
[node name="PlayerBody" parent="XROrigin3D" instance=ExtResource("5_bs6i8")]
motion_mode = 1
push_rigid_bodies = false
physics = SubResource("Resource_117uy")
[node name="MovementDesktopDirect" parent="XROrigin3D" instance=ExtResource("6_k7epg")]