cawez_puzzlebox/cubes/tile/death_tile_sokoban.tscn
2024-06-27 23:25:45 -04:00

87 lines
3.6 KiB
Plaintext

[gd_scene load_steps=8 format=3 uid="uid://cttv7cofbshaa"]
[ext_resource type="PhysicsMaterial" uid="uid://b70a1fldvoovb" path="res://cubes/tile/tile_physics.tres" id="1_yvrre"]
[ext_resource type="Script" path="res://cubes/tile/cube_tile.gd" id="2_ebe46"]
[ext_resource type="PackedScene" uid="uid://be071cnfk4wxe" path="res://primitives/death/death_area_cubes.tscn" id="3_v8x65"]
[ext_resource type="PackedScene" uid="uid://ru77p452tkfp" path="res://primitives/death/death_visual.tscn" id="3_v143n"]
[ext_resource type="Script" path="res://cubes/tile/track_parent.gd" id="4_icjvm"]
[sub_resource type="BoxShape3D" id="BoxShape3D_xx2ys"]
size = Vector3(3, 3, 3)
[sub_resource type="SphereMesh" id="SphereMesh_5ntqw"]
[node name="cube_tile" type="RigidBody3D" node_paths=PackedStringArray("mesh", "colliders")]
collision_layer = 9
collision_mask = 0
physics_material_override = ExtResource("1_yvrre")
freeze = true
freeze_mode = 1
script = ExtResource("2_ebe46")
recursive = true
mesh = [NodePath("mesh_objective")]
colliders = [NodePath("CollisionShape3D"), null, null, null, null, null, null]
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("BoxShape3D_xx2ys")
[node name="death_area_cubes" parent="." instance=ExtResource("3_v8x65")]
transform = Transform3D(0.625, 0, 0, 0, 0.625, 0, 0, 0, 0.625, 0, 0, 2.5)
death_direction = Vector3(0, 0, -1)
[node name="MeshInstance3D" type="MeshInstance3D" parent="death_area_cubes"]
mesh = SubResource("SphereMesh_5ntqw")
[node name="death_area_cubes5" parent="." instance=ExtResource("3_v8x65")]
transform = Transform3D(0.625, 0, 0, 0, 0.625, 0, 0, 0, 0.625, 0, 2.5, 0)
[node name="MeshInstance3D" type="MeshInstance3D" parent="death_area_cubes5"]
mesh = SubResource("SphereMesh_5ntqw")
[node name="death_area_cubes6" parent="." instance=ExtResource("3_v8x65")]
transform = Transform3D(0.625, 0, 0, 0, 0.625, 0, 0, 0, 0.625, 0, -2.5, 0)
death_direction = Vector3(0, 1, 0)
[node name="MeshInstance3D" type="MeshInstance3D" parent="death_area_cubes6"]
mesh = SubResource("SphereMesh_5ntqw")
[node name="death_area_cubes2" parent="." instance=ExtResource("3_v8x65")]
transform = Transform3D(0.625, 0, 0, 0, 0.625, 0, 0, 0, 0.625, 2.5, 0, 0)
death_direction = Vector3(-1, 0, 0)
[node name="MeshInstance3D2" type="MeshInstance3D" parent="death_area_cubes2"]
mesh = SubResource("SphereMesh_5ntqw")
skeleton = NodePath("../../death_area_cubes")
[node name="death_area_cubes3" parent="." instance=ExtResource("3_v8x65")]
transform = Transform3D(0.625, 0, 0, 0, 0.625, 0, 0, 0, 0.625, 0, 0, -2.5)
death_direction = Vector3(0, 0, 1)
[node name="MeshInstance3D3" type="MeshInstance3D" parent="death_area_cubes3"]
mesh = SubResource("SphereMesh_5ntqw")
skeleton = NodePath("../../death_area_cubes")
[node name="death_area_cubes4" parent="." instance=ExtResource("3_v8x65")]
transform = Transform3D(0.625, 0, 0, 0, 0.625, 0, 0, 0, 0.625, -2.5, 0, 0)
death_direction = Vector3(1, 0, 0)
[node name="MeshInstance3D4" type="MeshInstance3D" parent="death_area_cubes4"]
mesh = SubResource("SphereMesh_5ntqw")
skeleton = NodePath("../../death_area_cubes")
[node name="mesh_objective" type="Node3D" parent="."]
transform = Transform3D(3, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0)
metadata/_edit_group_ = true
[node name="death_visual" parent="mesh_objective" instance=ExtResource("3_v143n")]
top_level = true
script = ExtResource("4_icjvm")
[node name="raycast_wall" type="RayCast3D" parent="."]
[node name="raycast_recursive" type="RayCast3D" parent="."]
collision_mask = 8
[node name="raycast_ground" type="RayCast3D" parent="."]
target_position = Vector3(0, -2, 0)