meat_madness_redux/godot/tests/sink_block/test_sink_block.tscn

44 lines
2.0 KiB
Plaintext

[gd_scene load_steps=8 format=2]
[ext_resource path="res://player/player.tscn" type="PackedScene" id=1]
[ext_resource path="res://tests/sink_block/SinkRegion.gd" type="Script" id=2]
[ext_resource path="res://tests/ground_squish/TestMeat.material" type="Material" id=3]
[sub_resource type="CubeMesh" id=1]
[sub_resource type="ConcavePolygonShape" id=2]
data = PoolVector3Array( -1, 1, 1, 1, 1, 1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, -1, 1, 1, 1, -1, -1, 1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, 1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, 1, 1, 1, -1, 1, -1, -1, 1, -1, 1, -1, 1, -1, -1, 1, 1, -1, -1, -1, -1, 1, 1, -1, -1, 1, -1, -1, -1, 1, 1, 1, -1, 1, 1, 1, 1, -1, -1, 1, 1, -1, 1, -1, 1, 1, -1, -1, -1, 1, 1, -1, 1, -1, -1, -1, 1, -1, 1, 1, -1, -1, -1, -1, -1 )
[sub_resource type="CubeMesh" id=3]
[sub_resource type="BoxShape" id=4]
[node name="Spatial" type="Spatial"]
[node name="MeshInstance" type="MeshInstance" parent="."]
transform = Transform( 4.83556, 0, 0, 0, 1, 0, 0, 0, 3.48111, 0, -1.27906, 0 )
mesh = SubResource( 1 )
[node name="StaticBody" type="StaticBody" parent="MeshInstance"]
[node name="CollisionShape" type="CollisionShape" parent="MeshInstance/StaticBody"]
shape = SubResource( 2 )
[node name="Player" parent="." instance=ExtResource( 1 )]
[node name="SinkBlock" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 0.264811, 0, 0, 0, 1, 2.72806, 0.561258, 0 )
mesh = SubResource( 3 )
material/0 = ExtResource( 3 )
[node name="SinkRegion" type="Area" parent="SinkBlock"]
transform = Transform( 1, 0, 0, 0, 3.77628, 0, 0, 0, 1, -2.72806, -2.11947, 0 )
script = ExtResource( 2 )
[node name="CollisionShape" type="CollisionShape" parent="SinkBlock/SinkRegion"]
transform = Transform( 1, 0, 0, 0, 0.264811, 0, 0, 0, 0.988649, 2.72806, 0.561258, 0 )
shape = SubResource( 4 )
[connection signal="body_entered" from="SinkBlock/SinkRegion" to="SinkBlock/SinkRegion" method="_on_SinkRegion_body_entered"]
[connection signal="body_exited" from="SinkBlock/SinkRegion" to="SinkBlock/SinkRegion" method="_on_SinkRegion_body_exited"]