2022-11-29 18:18:57 -07:00
|
|
|
[gd_scene load_steps=5 format=2]
|
|
|
|
|
2022-12-16 23:08:50 -07:00
|
|
|
[ext_resource path="res://effects/tiled_sink_material.material" type="Material" id=1]
|
2022-11-29 18:18:57 -07:00
|
|
|
[ext_resource path="res://effects/SinkBlock.gd" type="Script" id=2]
|
|
|
|
|
|
|
|
[sub_resource type="CubeMesh" id=3]
|
|
|
|
|
|
|
|
[sub_resource type="BoxShape" id=4]
|
|
|
|
|
|
|
|
[node name="SinkBlock" type="MeshInstance"]
|
|
|
|
mesh = SubResource( 3 )
|
|
|
|
material/0 = ExtResource( 1 )
|
|
|
|
script = ExtResource( 2 )
|
|
|
|
|
|
|
|
[node name="SinkRegion" type="Area" parent="."]
|
|
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="SinkRegion"]
|
|
|
|
shape = SubResource( 4 )
|
|
|
|
|
|
|
|
[connection signal="body_entered" from="SinkRegion" to="." method="_on_SinkRegion_body_entered"]
|
|
|
|
[connection signal="body_exited" from="SinkRegion" to="." method="_on_SinkRegion_body_exited"]
|