2023-11-28 00:46:05 +02:00
|
|
|
[gd_scene load_steps=6 format=3 uid="uid://bsx12q23v8apy"]
|
2023-11-27 01:23:19 +02:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://content/system/hands/hands.gd" id="1_c4f76"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://c0kow4g10wolq" path="res://assets/models/hands_steam/right_hand.glb" id="1_uekbj"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dt4ksvogfctkr" path="res://assets/models/hands_steam/left_hand.glb" id="2_n73lt"]
|
|
|
|
|
2023-11-28 00:46:05 +02:00
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_dopke"]
|
|
|
|
radius = 0.001
|
|
|
|
height = 0.02
|
|
|
|
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_wty44"]
|
|
|
|
size = Vector3(0.0274034, 0.194213, 0.133443)
|
|
|
|
|
2023-11-27 01:23:19 +02:00
|
|
|
[node name="Hands" type="Node3D"]
|
|
|
|
script = ExtResource("1_c4f76")
|
|
|
|
|
|
|
|
[node name="XRHandLeft" type="OpenXRHand" parent="."]
|
|
|
|
transform = Transform3D(0.999999, -1.39628e-11, 0, 9.48119e-12, 0.999999, -4.54747e-13, 0, 0, 0.999999, -0.25, 0, 0)
|
|
|
|
hand_skeleton = NodePath("left_hand/Armature_001/Skeleton3D")
|
|
|
|
|
|
|
|
[node name="left_hand" parent="XRHandLeft" instance=ExtResource("2_n73lt")]
|
|
|
|
transform = Transform3D(1, 4.42441e-11, 0, -1.06936e-10, 1, 1.81899e-12, 5.82077e-11, -1.81899e-12, 1, 0, 0, 0.033)
|
|
|
|
|
|
|
|
[node name="IndexTip" type="BoneAttachment3D" parent="XRHandLeft"]
|
|
|
|
transform = Transform3D(0.19221, -0.669965, -0.717079, 0.977075, 0.19881, 0.076153, 0.0915428, -0.715277, 0.692819, 0.0345973, 0.0355402, -0.131767)
|
|
|
|
bone_name = "Index_Tip_L"
|
|
|
|
bone_idx = 9
|
|
|
|
use_external_skeleton = true
|
|
|
|
external_skeleton = NodePath("../left_hand/Armature_001/Skeleton3D")
|
|
|
|
|
|
|
|
[node name="Marker3D" type="Marker3D" parent="XRHandLeft/IndexTip"]
|
|
|
|
gizmo_extents = 0.02
|
|
|
|
|
|
|
|
[node name="ThumbTip" type="BoneAttachment3D" parent="XRHandLeft"]
|
|
|
|
transform = Transform3D(0.937246, 0.0284254, -0.347508, 0.0184905, 0.991216, 0.130949, 0.348178, -0.129157, 0.928488, 0.0498668, 0.0560917, -0.0797768)
|
|
|
|
bone_name = "Thumb_Tip_L"
|
|
|
|
bone_idx = 4
|
|
|
|
use_external_skeleton = true
|
|
|
|
external_skeleton = NodePath("../left_hand/Armature_001/Skeleton3D")
|
|
|
|
|
|
|
|
[node name="Marker3D" type="Marker3D" parent="XRHandLeft/ThumbTip"]
|
|
|
|
gizmo_extents = 0.02
|
|
|
|
|
|
|
|
[node name="MiddleTip" type="BoneAttachment3D" parent="XRHandLeft"]
|
|
|
|
transform = Transform3D(0.0812012, -0.650531, -0.755125, 0.996577, 0.064817, 0.051326, 0.0155558, -0.756708, 0.653568, 0.032112, 0.00654224, -0.138612)
|
|
|
|
bone_name = "Middle_Tip_L"
|
|
|
|
bone_idx = 14
|
|
|
|
use_external_skeleton = true
|
|
|
|
external_skeleton = NodePath("../left_hand/Armature_001/Skeleton3D")
|
|
|
|
|
|
|
|
[node name="Marker3D" type="Marker3D" parent="XRHandLeft/MiddleTip"]
|
|
|
|
gizmo_extents = 0.02
|
|
|
|
|
|
|
|
[node name="XRHandRight" type="OpenXRHand" parent="."]
|
|
|
|
transform = Transform3D(0.999998, -0.000567105, -2.5179e-05, -2.51789e-05, 4.39886e-08, -0.999999, 0.000567104, 0.999999, 2.97064e-08, 0.264391, 0, 0)
|
|
|
|
hand = 1
|
|
|
|
hand_skeleton = NodePath("right_hand/Armature/Skeleton3D")
|
|
|
|
|
|
|
|
[node name="right_hand" parent="XRHandRight" instance=ExtResource("1_uekbj")]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.033)
|
|
|
|
|
|
|
|
[node name="IndexTip" type="BoneAttachment3D" parent="XRHandRight"]
|
|
|
|
transform = Transform3D(0.19221, 0.669966, 0.717079, -0.091543, -0.715277, 0.69282, 0.977075, -0.19881, -0.0761527, -0.0345977, -0.164767, -0.00254008)
|
|
|
|
bone_name = "Index_Tip_R"
|
|
|
|
bone_idx = 9
|
|
|
|
use_external_skeleton = true
|
|
|
|
external_skeleton = NodePath("../right_hand/Armature/Skeleton3D")
|
|
|
|
|
|
|
|
[node name="Marker3D" type="Marker3D" parent="XRHandRight/IndexTip"]
|
|
|
|
gizmo_extents = 0.02
|
|
|
|
|
2023-11-28 00:46:05 +02:00
|
|
|
[node name="IndexArea" type="Area3D" parent="XRHandRight/IndexTip"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0.01)
|
|
|
|
collision_layer = 2
|
|
|
|
collision_mask = 2
|
|
|
|
monitorable = false
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="XRHandRight/IndexTip/IndexArea"]
|
|
|
|
transform = Transform3D(1, -7.45058e-09, -2.22045e-16, 7.45058e-09, 1, 0, 0, 0, 1, 0, 0, 0)
|
|
|
|
shape = SubResource("CapsuleShape3D_dopke")
|
|
|
|
|
2023-11-27 01:23:19 +02:00
|
|
|
[node name="ThumbTip" type="BoneAttachment3D" parent="XRHandRight"]
|
|
|
|
transform = Transform3D(0.937246, -0.0284254, 0.347508, -0.348179, -0.129158, 0.928488, 0.0184906, -0.991216, -0.130949, -0.0498677, -0.112777, -0.0230909)
|
|
|
|
bone_name = "Thumb_Tip_R"
|
|
|
|
bone_idx = 4
|
|
|
|
use_external_skeleton = true
|
|
|
|
external_skeleton = NodePath("../right_hand/Armature/Skeleton3D")
|
|
|
|
|
|
|
|
[node name="Marker3D" type="Marker3D" parent="XRHandRight/ThumbTip"]
|
|
|
|
gizmo_extents = 0.02
|
|
|
|
|
|
|
|
[node name="MiddleTip" type="BoneAttachment3D" parent="XRHandRight"]
|
|
|
|
transform = Transform3D(0.0812011, 0.650531, 0.755126, -0.0155557, -0.756708, 0.653568, 0.996576, -0.0648169, -0.0513262, -0.032112, -0.171612, 0.0264578)
|
|
|
|
bone_name = "Middle_Tip_R"
|
|
|
|
bone_idx = 14
|
|
|
|
use_external_skeleton = true
|
|
|
|
external_skeleton = NodePath("../right_hand/Armature/Skeleton3D")
|
|
|
|
|
|
|
|
[node name="Marker3D" type="Marker3D" parent="XRHandRight/MiddleTip"]
|
|
|
|
gizmo_extents = 0.02
|
|
|
|
|
2023-11-28 00:46:05 +02:00
|
|
|
[node name="AnimatableBody3D" type="AnimatableBody3D" parent="XRHandRight"]
|
|
|
|
transform = Transform3D(1, 0, 4.7579e-13, 0, 1, 0, -3.16048e-12, 1.77636e-15, 1, 5.36442e-07, -9.16771e-10, 0.0208378)
|
|
|
|
collision_layer = 4
|
|
|
|
collision_mask = 4
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="XRHandRight/AnimatableBody3D"]
|
|
|
|
transform = Transform3D(1, 0, 4.7579e-13, -1.16415e-10, 1, 0, -1.04364e-11, 1.77636e-15, 1, -0.0166854, -0.0757538, 4.16786e-07)
|
|
|
|
shape = SubResource("BoxShape3D_wty44")
|
|
|
|
|
2023-11-27 01:23:19 +02:00
|
|
|
[editable path="XRHandLeft/left_hand"]
|
|
|
|
[editable path="XRHandRight/right_hand"]
|