[gd_scene load_steps=8 format=4 uid="uid://cb5uom3n564hp"]

[ext_resource type="ArrayMesh" uid="uid://dpltfkrswbxnf" path="res://models/default_mesh.res" id="1_psfs8"]
[ext_resource type="Texture2D" uid="uid://dcndfmss5cobc" path="res://models/OBJ format/Cube_0.png" id="2_yf86y"]

[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_kkqvq"]
points = PackedVector3Array(-0.5, 0, -0.5, -0.5, 0, 0.5, -0.5, 1, -0.5, 0.5, 1, -0.5, 0.5, 0, -0.5, 0.5, 0, 0.5)

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_k5sxa"]
resource_name = "texture_0"
transparency = 2
alpha_scissor_threshold = 0.01
alpha_antialiasing_mode = 0
cull_mode = 2
albedo_texture = ExtResource("2_yf86y")
texture_filter = 0
texture_repeat = false

[sub_resource type="ArrayMesh" id="ArrayMesh_5s8vg"]
_surfaces = [{
"aabb": AABB(-0.5, 0.0023012161, -0.5, 1, 1, 1),
"format": 34896613377,
"index_count": 36,
"index_data": PackedByteArray("AAABAAIAAwACAAEAAAACAAQAAwABAAUABQABAAAABgACAAMABQAGAAMABgAEAAIABQAAAAcABQAHAAYABwAAAAQABwAEAAYA"),
"name": "texture_0",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 8,
"vertex_data": PackedByteArray("AAD/////AAAAAP//AAAAAP////8AAAAA//8AAAAAAAD///////8AAAAAAAAAAAAA//8AAP//AAAAAAAA//8AAA==")
}]
blend_shape_mode = 0

[sub_resource type="ArrayMesh" id="ArrayMesh_6o4ed"]
resource_name = "default_mesh"
_surfaces = [{
"aabb": AABB(-0.5, 0.0023012161, -0.5, 1, 1, 1),
"attribute_data": PackedByteArray("AAD/DwAAAAD/DwAAAAD/D/8PAAD/D/8PAAD/DwAAAAD/DwAAAAD/D/8PAAD/D/8PAAD/DwAAAAD/DwAAAAD/D/8PAAD/D/8PAAD/DwAAAAD/DwAAAAD/D/8PAAD/D/8PAAD/DwAAAAD/DwAAAAD/D/8PAAD/D/8PAAD/DwAAAAD/DwAAAAD/D/8PAAD/D/8P"),
"format": 34896613399,
"index_count": 36,
"index_data": PackedByteArray("AAABAAIAAwAEAAUABgAHAAgACQAKAAsADAANAA4ADwAQABEAEgATABQAFQAWABcAGAAZABoAGwAcAB0AHgAfACAAIQAiACMA"),
"material": SubResource("StandardMaterial3D_k5sxa"),
"name": "texture_0",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 36,
"vertex_data": PackedByteArray("AAD//////78AAP//AAD/v/////8AAP+/AAD//////7//////AAD/v/////////+/AAAAAAAA/78AAP//AAD/vwAA//////+/AAAAAAAA/78AAP//////vwAAAAD///+/AAAAAP//AIAAAP////8AgP///////wCAAAAAAP//AID///////8AgP//AAD//wCA//8AAP///7//////////v/////8AAP+///8AAP///7//////AAD/v///AAAAAP+///8AAAAA////////AAD//wAA//8AAP////8AAAAA//8AAP//AAD//wAAAAAAAP//AAAAAAAA/78AAAAA////v///AAD///+/AAAAAAAA/7///wAA////v///AAAAAP+/////f////3////9/////f////3////9//3////9/////f////3////9/////f////3////9/////f////3////9/////f////38AAP9/AAD/fwAA/38AAP9/AAD/fwAA/3////9/////f////3////9/////f///AAD/fwAA/38AAP9/AAD/fwAA/38AAP9/")
}]
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_5s8vg")

[sub_resource type="BoxShape3D" id="BoxShape3D_dhwmq"]

[node name="Node3D" type="Node3D"]

[node name="Ramp" type="MeshInstance3D" parent="."]
mesh = ExtResource("1_psfs8")
skeleton = NodePath("")
metadata/extras = {
"data": {
"billboard": {
"enabled": false,
"y": false
},
"custom": [],
"directional": {
"angles": [],
"enabled": false,
"mode": "cameraAngle"
},
"instances": [{
"custom": [],
"name": "Ramp",
"parent": null,
"pos": {
"x": 0.5,
"y": 0.0,
"z": 0.0
},
"rot": {
"order": "XYZ",
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"sca": {
"x": 1.0,
"y": 1.0,
"z": 1.0
},
"uuid": "E237E1EF-6E12-406F-A5A8-F16232ED7E31"
}],
"name": "Ramp",
"points": [{
"name": "Origin",
"pos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
}]
}
}

[node name="StaticBody3D" type="StaticBody3D" parent="Ramp"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Ramp/StaticBody3D"]
shape = SubResource("ConvexPolygonShape3D_kkqvq")

[node name="Cube" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 0)
mesh = SubResource("ArrayMesh_6o4ed")
skeleton = NodePath("")
metadata/extras = {
"data": {
"billboard": {
"enabled": false,
"y": false
},
"custom": [],
"directional": {
"angles": [],
"enabled": false,
"mode": "cameraAngle"
},
"instances": [{
"custom": [],
"name": "Cube",
"parent": null,
"pos": {
"x": 2.0,
"y": 1.0,
"z": 0.5
},
"rot": {
"order": "XYZ",
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"sca": {
"x": 1.0,
"y": 1.0,
"z": 1.0
},
"uuid": "7D3B65D3-B14B-4022-AEF3-7E23133D62C6"
}],
"name": "Cube",
"points": [{
"name": "Origin",
"pos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
}]
}
}

[node name="StaticBody3D" type="StaticBody3D" parent="Cube"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Cube/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
shape = SubResource("BoxShape3D_dhwmq")
