Files
trenchlock/scenes/board/tetromino.tscn
2026-01-13 08:31:42 +01:00

33 lines
1.3 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://btdnshtrnejt"]
[ext_resource type="Script" uid="uid://c8041v2usigk4" path="res://scripts/tetromino.gd" id="1_hprdj"]
[ext_resource type="Resource" uid="uid://curn7voye0ewx" path="res://resources/data/tetrominos/i_piece.tres" id="2_f3wyc"]
[ext_resource type="ArrayMesh" uid="uid://e1oj3t6audj3" path="res://assets/models/MSH_1x3.res" id="3_f3wyc"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_f3wyc"]
albedo_color = Color(1, 0, 0, 1)
[sub_resource type="BoxShape3D" id="BoxShape3D_f3wyc"]
size = Vector3(3.0031738, 1, 1)
[node name="Tetromino" type="Node3D"]
script = ExtResource("1_hprdj")
resource = ExtResource("2_f3wyc")
mesh_color = Color(1, 0, 0, 1)
[node name="Visuals" type="Node3D" parent="."]
[node name="MeshInstance3D" type="MeshInstance3D" parent="Visuals"]
layers = 2
material_override = SubResource("StandardMaterial3D_f3wyc")
mesh = ExtResource("3_f3wyc")
skeleton = NodePath("../..")
[node name="SelectionArea" type="Area3D" parent="."]
collision_layer = 16
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="SelectionArea"]
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -1.6541168e-10, 0.49949223, -0.0037841797)
shape = SubResource("BoxShape3D_f3wyc")