39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://8fmy7u5fyonc"]
|
|
|
|
[ext_resource type="Script" uid="uid://bf27rxigs8b22" path="res://scripts/XRHand.cs" id="1_gyc3h"]
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_ij1v8"]
|
|
radius = 0.1
|
|
height = 0.2
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_iyx0m"]
|
|
radius = 0.01
|
|
|
|
[node name="XROrigin3D" type="XROrigin3D"]
|
|
current = true
|
|
|
|
[node name="LeftHand" type="XRController3D" parent="."]
|
|
tracker = &"left_hand"
|
|
script = ExtResource("1_gyc3h")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="LeftHand"]
|
|
mesh = SubResource("CapsuleMesh_ij1v8")
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="LeftHand"]
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="LeftHand/StaticBody3D"]
|
|
shape = SubResource("SphereShape3D_iyx0m")
|
|
|
|
[node name="RightHand" type="XRController3D" parent="."]
|
|
tracker = &"right_hand"
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="RightHand"]
|
|
mesh = SubResource("CapsuleMesh_ij1v8")
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="RightHand"]
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="RightHand/StaticBody3D"]
|
|
shape = SubResource("SphereShape3D_iyx0m")
|
|
|
|
[node name="XRCamera3D" type="XRCamera3D" parent="."]
|