diff --git a/Autobahn_auffahren__uebergabe_V12/World.gd b/Autobahn_auffahren__uebergabe_V12/World.gd index 23eab05d00756ee511a3f0aa309a1502d3ee69a8..f3e175ff96757e5cbf0e5a91ed28ad4572a69128 100644 --- a/Autobahn_auffahren__uebergabe_V12/World.gd +++ b/Autobahn_auffahren__uebergabe_V12/World.gd @@ -137,6 +137,7 @@ func _process(delta): func set_camera_limits(): + # Sets the boundaries of the field of view var map_limits = $TileMap.get_used_rect() var map_cellsize = $TileMap.cell_size $CarTest/Camera2D.limit_left = map_limits.position.x * map_cellsize.x