[gd_scene format=3 uid="uid://drmwx05dw5d3c"] [ext_resource type="Texture2D" uid="uid://iiyslw33af84" path="res://sprites/red.png" id="1_annr2"] [ext_resource type="Script" uid="uid://b464eeimyvolw" path="res://boat.gd" id="1_viw7v"] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_annr2"] radius = 16.0 height = 100.0 [node name="Boat" type="RigidBody2D" unique_id=918212763] collision_layer = 8 collision_mask = 14 script = ExtResource("1_viw7v") [node name="Sprite2D" type="Sprite2D" parent="." unique_id=522204430] scale = Vector2(0.1, 0.1) texture = ExtResource("1_annr2") [node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1042250248] position = Vector2(0, 16) rotation = 1.5707964 shape = SubResource("CapsuleShape2D_annr2") [node name="RightCast" type="RayCast2D" parent="." unique_id=1726274503] unique_name_in_owner = true target_position = Vector2(100, 0) collision_mask = 8 [node name="LeftCast" type="RayCast2D" parent="." unique_id=1387764071] unique_name_in_owner = true target_position = Vector2(-100, 0) collision_mask = 8