meat_madness_redux/godot/effects/SinkBlock.tscn

22 lines
726 B
Plaintext

[gd_scene load_steps=5 format=2]
[ext_resource path="res://effects/meat_sink_block_texture.tres" type="Material" id=1]
[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"]