[gd_scene load_steps=12 format=3 uid="uid://drm5dspi48pf5"] [ext_resource type="Script" uid="uid://sksndhqyo2bn" path="res://src/props/physics/persistent_prop.gd" id="1_q4djj"] [ext_resource type="ArrayMesh" uid="uid://cd7vwjss7qytk" path="res://assets/props/crate_long/crate_long.obj" id="1_sao54"] [ext_resource type="Texture2D" uid="uid://cd0w8eqpount3" path="res://assets/props/crate_long/crate_long_C.png" id="2_rlyiq"] [ext_resource type="Texture2D" uid="uid://da5p04vbiy3xe" path="res://assets/props/crate_long/crate_long_M.png" id="3_p8srg"] [ext_resource type="Texture2D" uid="uid://bsovubygl3go2" path="res://assets/props/crate_long/crate_long_N.png" id="4_q4djj"] [ext_resource type="Texture2D" uid="uid://b1m1my5q2vlwi" path="res://assets/props/crate_long/crate_long_R.png" id="5_eb8p8"] [ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="6_064yj"] [ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_lowrez.material" id="7_rlyiq"] [ext_resource type="Script" uid="uid://040xta01xqxd" path="res://src/props/physics/holdable.gd" id="8_p8srg"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_8j27j"] albedo_texture = ExtResource("2_rlyiq") metallic = 1.0 metallic_texture = ExtResource("3_p8srg") roughness_texture = ExtResource("5_eb8p8") normal_enabled = true normal_texture = ExtResource("4_q4djj") ao_enabled = true texture_filter = 2 [sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_q4djj"] points = PackedVector3Array(0.375, 0.149961, 0.75, 0.375, -0.15001, 0.75, 0.375, 0.149961, -0.75, 0.274936, 0.25, 0.75, 0.274936, -0.25, 0.75, 0.375, -0.15001, -0.75, 0.274936, 0.25, -0.75, -0.275083, 0.25, 0.75, -0.275083, -0.25, 0.75, 0.274936, -0.25, -0.75, -0.275083, 0.25, -0.75, -0.375, 0.149961, 0.75, -0.375, -0.15001, 0.75, -0.275083, -0.25, -0.75, -0.375, 0.149961, -0.75, -0.375, -0.15001, -0.75) [node name="PhysCrateLong" type="RigidBody3D" groups=["Persistent", "PlasticMaterial"]] collision_layer = 67 collision_mask = 73 mass = 200.0 script = ExtResource("1_q4djj") [node name="MeshInstance3D" type="MeshInstance3D" parent="."] mesh = ExtResource("1_sao54") surface_material_override/0 = SubResource("StandardMaterial3D_8j27j") [node name="CollisionShape3D" type="CollisionShape3D" parent="."] shape = SubResource("ConvexPolygonShape3D_q4djj") [node name="Gunkable" parent="." node_paths=PackedStringArray("body", "mesh_instance") instance=ExtResource("6_064yj")] mask_dim = 128 body = NodePath("..") mesh_instance = NodePath("../MeshInstance3D") source_gunk_material = ExtResource("7_rlyiq") [node name="Holdable" type="Node" parent="."] script = ExtResource("8_p8srg") hold_distance = 2.0 metadata/_custom_type_script = "uid://040xta01xqxd"