From a7c196ce8ef99ba939ec171b0c5a5b42193ec73b Mon Sep 17 00:00:00 2001 From: Luan Nico Date: Thu, 25 Jul 2024 19:46:34 -0400 Subject: [PATCH] Fix init exception --- lib/keyboard_controlled_camera.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/keyboard_controlled_camera.dart b/lib/keyboard_controlled_camera.dart index e1ab647..1b5ed32 100644 --- a/lib/keyboard_controlled_camera.dart +++ b/lib/keyboard_controlled_camera.dart @@ -16,6 +16,7 @@ class KeyboardControlledCamera extends CameraComponent3D projection: CameraProjection.perspective, mode: CameraMode.free, up: Vector3(0, 1, 0), + target: Vector3(0, 0, -1), fovY: 60, );