From c40eda6fe35f8ea38bffd7b52922b9b9092d2af1 Mon Sep 17 00:00:00 2001 From: RuiAlonso Date: Wed, 30 Mar 2022 16:34:25 +0200 Subject: [PATCH] fix: moved drop tube --- lib/game/pinball_game.dart | 2 +- .../pinball_components/lib/src/components/spaceship.dart | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/game/pinball_game.dart b/lib/game/pinball_game.dart index 9c87b6b2..9673b2d2 100644 --- a/lib/game/pinball_game.dart +++ b/lib/game/pinball_game.dart @@ -56,7 +56,7 @@ class PinballGame extends Forge2DGame unawaited( addFromBlueprint( SpaceshipExitRail( - position: Vector2(-32.6, 28), + position: Vector2(-34.3, 23.8), ), ), ); diff --git a/packages/pinball_components/lib/src/components/spaceship.dart b/packages/pinball_components/lib/src/components/spaceship.dart index 9b8d1476..6d7bba88 100644 --- a/packages/pinball_components/lib/src/components/spaceship.dart +++ b/packages/pinball_components/lib/src/components/spaceship.dart @@ -196,7 +196,12 @@ class SpaceshipHole extends RampOpening { @override Shape get shape { - return ArcShape(center: Vector2(-3.5, 2), arcRadius: 6, angle: 1); + return ArcShape( + center: Vector2(0, 4.2), + arcRadius: 6, + angle: 1, + rotation: 60 * pi / 180, + ); } }