grunk/src/props/cupboard/cupboard.tscn

38 lines
3.3 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=10 format=3 uid="uid://c8pkhw0b47xdd"]
2025-04-15 19:34:21 -06:00
[ext_resource type="Texture2D" uid="uid://dg4odum5vfc2r" path="res://assets/props/cupboard/cupboard_C.png" id="1_00yk4"]
[ext_resource type="ArrayMesh" uid="uid://dgfds7nbhxbbl" path="res://assets/props/cupboard/cupboard.obj" id="1_ssqwt"]
2025-04-15 19:34:21 -06:00
[ext_resource type="Texture2D" uid="uid://dkx0128lukxme" path="res://assets/props/cupboard/cupboard_M.png" id="2_w0nd8"]
[ext_resource type="Texture2D" uid="uid://c0qid1gqplbly" path="res://assets/props/cupboard/cupboard_N.png" id="3_ssqwt"]
[ext_resource type="Texture2D" uid="uid://cdmgbmje8ub3y" path="res://assets/props/cupboard/cupboard_R.png" id="4_q3cl1"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunk_body/gunkable.tscn" id="7_wyuua"]
[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk.material" id="8_rgfsf"]
2025-04-15 19:34:21 -06:00
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wyuua"]
albedo_texture = ExtResource("1_00yk4")
metallic = 1.0
metallic_texture = ExtResource("2_w0nd8")
roughness_texture = ExtResource("4_q3cl1")
normal_enabled = true
normal_texture = ExtResource("3_ssqwt")
texture_filter = 2
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_tv0mb"]
data = PackedVector3Array(-0.5, 0.5, 2, -0.5, -0.5, 2, -0.5, 0.5, -2, -0.5, 0.5, -2, -0.5, -0.5, 2, -0.5, -0.5, -2, -0.5, 0.5, -2, -0.5, -0.5, -2, 0.5, 0.5, -2, 0.5, 0.5, -2, -0.5, -0.5, -2, 0.5, -0.5, -2, 0.5, 0.5, -2, 0.5, -0.5, -2, 0.5, 0.5, 2, 0.5, 0.5, 2, 0.5, -0.5, -2, 0.5, -0.5, 2, 0.5, 0.5, 2, 0.5, -0.5, 2, -0.5, 0.5, 2, -0.5, 0.5, 2, 0.5, -0.5, 2, -0.5, -0.5, 2, 0.45, -0.5, 1.95, 0.45, -0.5, -1.95, 0.45, -0.45, 1.95, 0.45, -0.45, 1.95, 0.45, -0.5, -1.95, 0.45, -0.45, -1.95, -0.5, 0.5, -2, 0.5, 0.5, -2, -0.5, 0.5, 2, -0.5, 0.5, 2, 0.5, 0.5, -2, 0.5, 0.5, 2, -0.45, -0.5, 1.95, -0.45, -0.5, -1.95, -0.5, -0.5, 2, -0.5, -0.5, 2, -0.45, -0.5, -1.95, -0.5, -0.5, -2, 0.5, -0.5, 2, -0.45, -0.5, 1.95, -0.5, -0.5, 2, -0.45, -0.5, -1.95, 0.45, -0.5, -1.95, -0.5, -0.5, -2, 0.45, -0.5, 1.95, -0.45, -0.5, 1.95, 0.5, -0.5, 2, -0.5, -0.5, -2, 0.45, -0.5, -1.95, 0.5, -0.5, -2, 0.45, -0.5, -1.95, 0.45, -0.5, 1.95, 0.5, -0.5, -2, 0.5, -0.5, -2, 0.45, -0.5, 1.95, 0.5, -0.5, 2, 0.45, -0.45, -1.95, -0.45, -0.45, -1.95, 0.45, -0.45, 1.95, 0.45, -0.45, 1.95, -0.45, -0.45, -1.95, -0.45, -0.45, 1.95, -0.45, -0.5, -1.95, -0.45, -0.5, 1.95, -0.45, -0.45, -1.95, -0.45, -0.45, -1.95, -0.45, -0.5, 1.95, -0.45, -0.45, 1.95, -0.45, -0.5, 1.95, 0.45, -0.5, 1.95, -0.45, -0.45, 1.95, -0.45, -0.45, 1.95, 0.45, -0.5, 1.95, 0.45, -0.45, 1.95, 0.45, -0.5, -1.95, -0.45, -0.5, -1.95, 0.45, -0.45, -1.95, 0.45, -0.45, -1.95, -0.45, -0.5, -1.95, -0.45, -0.45, -1.95)
[node name="Cupboard" type="MeshInstance3D"]
mesh = ExtResource("1_ssqwt")
surface_material_override/0 = SubResource("StandardMaterial3D_wyuua")
2025-04-15 19:34:21 -06:00
[node name="StaticBody3D" type="StaticBody3D" parent="." groups=["MetalMaterial"]]
collision_layer = 5
collision_mask = 0
2025-04-15 19:34:21 -06:00
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
2025-04-15 19:34:21 -06:00
shape = SubResource("ConcavePolygonShape3D_tv0mb")
[node name="Gunkable" parent="StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") instance=ExtResource("7_wyuua")]
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("8_rgfsf")