[gd_scene load_steps=4 format=2] [sub_resource type="PhysicsMaterial" id=1] friction = 0.0 bounce = 1.0 [sub_resource type="RectangleShape2D" id=2] extents = Vector2( 50, 300 ) [sub_resource type="RectangleShape2D" id=3] extents = Vector2( 300, 50 ) [node name="Walls" type="StaticBody2D"] collision_layer = 2 physics_material_override = SubResource( 1 ) [node name="Left" type="CollisionShape2D" parent="."] position = Vector2( -50, 200 ) shape = SubResource( 2 ) [node name="Right" type="CollisionShape2D" parent="."] position = Vector2( 450, 200 ) shape = SubResource( 2 ) [node name="Top" type="CollisionShape2D" parent="."] position = Vector2( 200, -50 ) shape = SubResource( 3 )