generated from krampus/template-godot4
All checks were successful
linting & formatting / build (push) Successful in 26s
38 lines
3.3 KiB
Plaintext
38 lines
3.3 KiB
Plaintext
[gd_scene load_steps=10 format=3 uid="uid://c8pkhw0b47xdd"]
|
|
|
|
[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"]
|
|
[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/gunkable/gunkable.tscn" id="7_wyuua"]
|
|
[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk.material" id="8_rgfsf"]
|
|
|
|
[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")
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="." groups=["MetalMaterial"]]
|
|
collision_layer = 5
|
|
collision_mask = 0
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
|
|
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")
|