|
|
|
[gd_scene load_steps=5 format=3 uid="uid://yvy5vvaqgxy8"]
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://assets/shaders/ReplacePalette.cs" id="1_mtvxk"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dv3741xvn5lo1" path="res://assets/palettes/wood.png" id="2_n415g"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://b2f0teloaalm7" path="res://assets/models/crate.gltf" id="3_tncd6"]
|
|
|
|
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_to3fn"]
|
|
|
|
size = Vector3(1, 0.75, 1)
|
|
|
|
|
|
|
|
[node name="Crate" type="StaticBody3D"]
|
|
|
|
script = ExtResource("1_mtvxk")
|
|
|
|
Palette = ExtResource("2_n415g")
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.125, 0)
|
|
|
|
shape = SubResource("BoxShape3D_to3fn")
|
|
|
|
|
|
|
|
[node name="blockbench_export" parent="." instance=ExtResource("3_tncd6")]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0)
|