[gd_scene load_steps=5 format=2]

[ext_resource path="res://objects/level/MovingPlatform.gd" type="Script" id=1]

[sub_resource type="CubeMesh" id=1]
size = Vector3( 3, 0.75, 3 )

[sub_resource type="ConvexPolygonShape" id=3]
points = PoolVector3Array( -1.5, 0.375, 1.5, 1.5, 0.375, -1.5, 1.5, 0.375, 1.5, -1.5, 0.375, -1.5, -1.5, -0.375, 1.5, 1.5, -0.375, -1.5, 1.5, -0.375, 1.5, -1.5, -0.375, -1.5, 1.5, 0.375, 1.5, -1.5, 0.375, -1.5, 1.5, 0.375, -1.5, -1.5, 0.375, 1.5, 1.5, -0.375, 1.5, -1.5, -0.375, -1.5, 1.5, -0.375, -1.5, -1.5, -0.375, 1.5, 1.5, 0.375, 1.5, -1.5, -0.375, 1.5, -1.5, 0.375, 1.5, 1.5, -0.375, 1.5, 1.5, 0.375, -1.5, -1.5, -0.375, -1.5, -1.5, 0.375, -1.5, 1.5, -0.375, -1.5 )

[sub_resource type="BoxShape" id=2]
extents = Vector3( 1.26226, 0.579871, 1.32405 )

[node name="MovingPlatform" type="KinematicBody"]
pause_mode = 1
script = ExtResource( 1 )

[node name="MeshInstance" type="MeshInstance" parent="."]
mesh = SubResource( 1 )
material/0 = null

[node name="CollisionShape" type="CollisionShape" parent="."]
shape = SubResource( 3 )

[node name="Area" type="Area" parent="."]

[node name="CollisionShape" type="CollisionShape" parent="Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.714498, 0 )
shape = SubResource( 2 )

[connection signal="body_entered" from="Area" to="." method="_on_Area_body_entered"]
[connection signal="body_exited" from="Area" to="." method="_on_Area_body_exited"]
