30 lines
1.2 KiB
Text
30 lines
1.2 KiB
Text
[gd_scene load_steps=5 format=3 uid="uid://dqvq4ybcpws87"]
|
|
|
|
[ext_resource type="Script" uid="uid://brghj78gsq8lx" path="res://Commands/command_block.gd" id="1_ra6j6"]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_idcaa"]
|
|
emission = Color(1, 1, 1, 1)
|
|
subsurf_scatter_strength = 1.0
|
|
uv1_scale = Vector3(3, 2, 1)
|
|
uv1_triplanar_sharpness = 0.0583145
|
|
uv2_triplanar_sharpness = 0.170755
|
|
texture_filter = 0
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_572kf"]
|
|
size = Vector3(0.5, 0.5, 0.5)
|
|
|
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_mmdx7"]
|
|
points = PackedVector3Array(0.25, 0.25, 0.25, 0.25, 0.25, -0.25, -0.25, 0.25, 0.25, 0.25, -0.25, 0.25, 0.25, -0.25, -0.25, -0.25, 0.25, -0.25, -0.25, -0.25, 0.25, -0.25, -0.25, -0.25)
|
|
|
|
[node name="BaseCommand" type="RigidBody3D" node_paths=PackedStringArray("mesh", "collider")]
|
|
can_sleep = false
|
|
script = ExtResource("1_ra6j6")
|
|
mesh = NodePath("MeshInstance3D")
|
|
collider = NodePath("CollisionShape3D3")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
material_override = SubResource("StandardMaterial3D_idcaa")
|
|
mesh = SubResource("BoxMesh_572kf")
|
|
|
|
[node name="CollisionShape3D3" type="CollisionShape3D" parent="."]
|
|
shape = SubResource("ConvexPolygonShape3D_mmdx7")
|