diff --git a/Autobahn_auffahren__uebergabe_V12/World.gd b/Autobahn_auffahren__uebergabe_V12/World.gd index 3ec7a3f90e721bec5cffa7356b5c433528bafbed..68166e9db76f7e06ad233e33d58ee1ececc8a788 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