[gd_scene load_steps=8 format=3 uid="uid://wo0ikejk0hag"] [ext_resource type="Script" uid="uid://dkss4o54xymwj" path="res://Maps/Spaceship/Objects/Grabable/GrabableObject.gd" id="1_jgf10"] [ext_resource type="Script" uid="uid://cmo8m6v4wlw2y" path="res://Maps/Spaceship/Objects/Grabable/GrabBox.gd" id="2_yocvc"] [sub_resource type="BoxShape3D" id="BoxShape3D_61j30"] size = Vector3(0.5, 0.5, 0.5) [sub_resource type="BoxShape3D" id="BoxShape3D_qey0m"] size = Vector3(0.5, 0.5, 0.5) [sub_resource type="BoxMesh" id="BoxMesh_4unh8"] size = Vector3(0.5, 0.5, 0.5) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_utenr"] albedo_color = Color(0.111197, 0.111197, 0.111197, 1) metallic = 1.0 roughness = 0.3 [sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_yocvc"] properties/0/path = NodePath(".:position") properties/0/spawn = true properties/0/replication_mode = 1 properties/1/path = NodePath(".:rotation") properties/1/spawn = true properties/1/replication_mode = 1 [node name="RepairCube" type="RigidBody3D" node_paths=PackedStringArray("grabBox")] script = ExtResource("1_jgf10") grabBox = NodePath("GrabBox") throwingForce = 2.0 metadata/_custom_type_script = "uid://dkss4o54xymwj" [node name="GrabBox" type="Area3D" parent="." node_paths=PackedStringArray("obj")] script = ExtResource("2_yocvc") obj = NodePath("..") type = "RepairCube" heavy = true metadata/_custom_type_script = "uid://cmo8m6v4wlw2y" [node name="GrabShape" type="CollisionShape3D" parent="GrabBox"] shape = SubResource("BoxShape3D_61j30") debug_fill = false [node name="CollisionShape" type="CollisionShape3D" parent="."] shape = SubResource("BoxShape3D_qey0m") debug_fill = false [node name="MeshInstance3D" type="MeshInstance3D" parent="."] mesh = SubResource("BoxMesh_4unh8") surface_material_override/0 = SubResource("StandardMaterial3D_utenr") [node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."] replication_config = SubResource("SceneReplicationConfig_yocvc")