[gd_scene load_steps=5 format=2]

[ext_resource path="res://background/plank.png" type="Texture" id=1]
[ext_resource path="res://background/plankpin.png" type="Texture" id=2]

[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 64, 4 )

[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 8, 13.5 )

[node name="Seesaw" type="Node2D"]

[node name="Plank" type="RigidBody2D" parent="."]
mass = 5.10204

[node name="Sprite" type="Sprite" parent="Plank"]
texture = ExtResource( 1 )

[node name="CollisionShape2D" type="CollisionShape2D" parent="Plank"]
shape = SubResource( 1 )

[node name="Pin" type="PinJoint2D" parent="."]
node_a = NodePath("../Plank")
node_b = NodePath("../Pillar")

[node name="Pillar" type="StaticBody2D" parent="."]

[node name="Sprite" type="Sprite" parent="Pillar"]
position = Vector2( 0, 10 )
texture = ExtResource( 2 )

[node name="CollisionShape2D" type="CollisionShape2D" parent="Pillar"]
position = Vector2( 0, 12.5 )
shape = SubResource( 2 )