[gd_scene load_steps=11 format=3 uid="uid://bixan352mi1j6"] [ext_resource type="PackedScene" uid="uid://c8l60rnugru40" path="res://addons/godot-xr-tools/objects/pickable.tscn" id="1_dshke"] [ext_resource type="PackedScene" uid="uid://c25yxb0vt53vc" path="res://addons/godot-xr-tools/objects/grab_points/grab_point_hand_left.tscn" id="2_m3e5t"] [ext_resource type="PackedScene" uid="uid://ctw7nbntd5pcj" path="res://addons/godot-xr-tools/objects/grab_points/grab_point_hand_right.tscn" id="3_1s35s"] [ext_resource type="Script" path="res://scenes/manipulator.gd" id="4_25j3l"] [ext_resource type="Shader" uid="uid://dilr5r6k3ik7t" path="res://scenes/manipulatorsphere.tres" id="4_ewjtf"] [sub_resource type="SphereShape3D" id="SphereShape3D_f261g"] radius = 0.1 [sub_resource type="SphereMesh" id="SphereMesh_mou0a"] radius = 0.1 height = 0.2 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ljyno"] albedo_color = Color(0, 0.470085, 0.308113, 1) emission_enabled = true emission = Color(1.44392e-06, 0.591371, 0.38197, 1) emission_energy_multiplier = 0.22 [sub_resource type="SphereMesh" id="SphereMesh_56y52"] radius = 1.0 height = 2.0 [sub_resource type="ShaderMaterial" id="ShaderMaterial_1u5an"] render_priority = 0 shader = ExtResource("4_ewjtf") shader_parameter/Albedo = Color(1, 1, 1, 1) [node name="Manipulator" instance=ExtResource("1_dshke")] lock_rotation = true freeze = true release_mode = 1 ranged_grab_method = 0 second_hand_grab = 1 [node name="CollisionShape3D" parent="." index="0"] shape = SubResource("SphereShape3D_f261g") [node name="Visual" type="MeshInstance3D" parent="." index="1"] layers = 2 mesh = SubResource("SphereMesh_mou0a") surface_material_override/0 = SubResource("StandardMaterial3D_ljyno") [node name="GrabPointHandLeft" parent="." index="2" instance=ExtResource("2_m3e5t")] [node name="GrabPointHandRight" parent="." index="3" instance=ExtResource("3_1s35s")] [node name="ManipulatorSync" type="Node3D" parent="." index="4"] script = ExtResource("4_25j3l") [node name="Bounds" type="MeshInstance3D" parent="ManipulatorSync" index="0"] layers = 2 mesh = SubResource("SphereMesh_56y52") skeleton = NodePath("../..") surface_material_override/0 = SubResource("ShaderMaterial_1u5an") [node name="GPUParticlesAttractorSphere3D" type="GPUParticlesAttractorSphere3D" parent="ManipulatorSync" index="1"] [connection signal="dropped" from="." to="ManipulatorSync" method="_on_pickable_object_dropped"] [connection signal="picked_up" from="." to="ManipulatorSync" method="_on_pickable_object_picked_up"]