[gd_scene format=3 uid="uid://clw8ai6kngqxb"] [ext_resource type="Script" uid="uid://b4ldkd3ngs0vp" path="res://main.gd" id="1_0xm2m"] [ext_resource type="PackedScene" uid="uid://j5s5wus7tuhb" path="res://XROrigin.tscn" id="2_h2yge"] [ext_resource type="Script" uid="uid://cquqe4f1m1sw6" path="res://addons/godot-xr-tools/objects/snap_zone.gd" id="3_1bvp3"] [ext_resource type="PackedScene" uid="uid://e4i6o5oriecx" path="res://PickupCube.tscn" id="3_h2yge"] [ext_resource type="Script" uid="uid://bsn8vhv5adxdo" path="res://hob.gd" id="3_lquwl"] [sub_resource type="BoxShape3D" id="BoxShape3D_vlqg6"] size = Vector3(5, 0.1, 5) [sub_resource type="BoxMesh" id="BoxMesh_24d3s"] size = Vector3(5, 0.1, 5) [sub_resource type="BoxShape3D" id="BoxShape3D_24d3s"] [sub_resource type="BoxMesh" id="BoxMesh_i5j2u"] [sub_resource type="SphereShape3D" id="SphereShape3D_vlqg6"] [node name="Main" type="Node3D" unique_id=1312265607] script = ExtResource("1_0xm2m") [node name="XROrigin3D" parent="." unique_id=2055526621 instance=ExtResource("2_h2yge")] [node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=1376644384] transform = Transform3D(-0.8660254, -0.43301278, 0.24999999, 0.3022632, -0.05510214, 0.9516306, -0.39829266, 0.8997021, 0.17860365, 0, 0, 0) [node name="Floor" type="StaticBody3D" parent="." unique_id=122279514] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.05, 0) [node name="CollisionShape3D" type="CollisionShape3D" parent="Floor" unique_id=958841648] shape = SubResource("BoxShape3D_vlqg6") [node name="MeshInstance3D" type="MeshInstance3D" parent="Floor/CollisionShape3D" unique_id=1939997056] mesh = SubResource("BoxMesh_24d3s") [node name="Hob" type="StaticBody3D" parent="." unique_id=799977363] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.29336345, 0.5, -1.484) script = ExtResource("3_lquwl") [node name="CollisionShape3D" type="CollisionShape3D" parent="Hob" unique_id=709939046] shape = SubResource("BoxShape3D_24d3s") [node name="MeshInstance3D" type="MeshInstance3D" parent="Hob/CollisionShape3D" unique_id=764879781] mesh = SubResource("BoxMesh_i5j2u") [node name="Label3D" type="Label3D" parent="Hob/CollisionShape3D" unique_id=1357581958] transform = Transform3D(0.9999992, 0, 0, 0, 0.99999946, 0, 0, 0, 0.9999992, 0.002797456, 0.6309581, -0.2812457) text = "Hob" [node name="XRToolsSnapZone" type="Area3D" parent="Hob" unique_id=282181673] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5270121, 0) collision_layer = 65536 collision_mask = 65536 script = ExtResource("3_1bvp3") snap_mode = 1 initial_object = NodePath("../../PickableObject2") metadata/_custom_type_script = "uid://cquqe4f1m1sw6" [node name="CollisionShape3D2" type="CollisionShape3D" parent="Hob/XRToolsSnapZone" unique_id=808936665] transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, -0.000975132, 0) shape = SubResource("SphereShape3D_vlqg6") [node name="Counter" type="StaticBody3D" parent="." unique_id=1606773951] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.7321187, 0.5, -1.484) [node name="CollisionShape3D" type="CollisionShape3D" parent="Counter" unique_id=1488758675] shape = SubResource("BoxShape3D_24d3s") [node name="MeshInstance3D" type="MeshInstance3D" parent="Counter/CollisionShape3D" unique_id=1356208894] mesh = SubResource("BoxMesh_i5j2u") [node name="Label3D" type="Label3D" parent="Counter/CollisionShape3D" unique_id=1406314269] transform = Transform3D(0.9999992, 0, 0, 0, 0.99999946, 0, 0, 0, 0.9999992, 0.002797456, 0.6309581, -0.2812457) text = "Counter" [node name="XRToolsSnapZone" type="Area3D" parent="Counter" unique_id=1197324324] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5270121, 0) collision_layer = 0 collision_mask = 65537 script = ExtResource("3_1bvp3") snap_mode = 1 initial_object = NodePath("../../PickableObject") metadata/_custom_type_script = "uid://cquqe4f1m1sw6" [node name="CollisionShape3D2" type="CollisionShape3D" parent="Counter/XRToolsSnapZone" unique_id=1304830059] transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, -0.000975132, 0) shape = SubResource("SphereShape3D_vlqg6") [node name="PickableObject" parent="." unique_id=1675596942 instance=ExtResource("3_h2yge")] transform = Transform3D(1, 0, -2.2351742e-08, -2.9802322e-08, 1.0000001, 0, -2.6077032e-08, 1.4901161e-08, 1, -0.70505303, 1.1780516, -1.4470987) [node name="PickableObject2" parent="." unique_id=713087634 instance=ExtResource("3_h2yge")] transform = Transform3D(1, 0, -2.2351742e-08, -2.9802322e-08, 1.0000001, 0, -2.6077032e-08, 1.4901161e-08, 1, 0.28315204, 1.1626935, -1.4811357)