From 7d36200a243792839f13c8bc59e4e18df1289c01 Mon Sep 17 00:00:00 2001 From: hut Date: Sat, 30 Mar 2024 19:51:41 +0100 Subject: [PATCH] fix camera jitter~ --- src/camera.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/camera.rs b/src/camera.rs index 7ab5e26..f09bcb5 100644 --- a/src/camera.rs +++ b/src/camera.rs @@ -17,6 +17,7 @@ impl Plugin for CameraControllerPlugin { app.add_systems(Update, manage_player_actor.after(handle_input)); app.add_systems(PostUpdate, sync_camera_to_player .after(PhysicsSet::Sync) + .after(apply_input_to_player) .before(TransformSystem::TransformPropagate)); app.add_systems(Update, update_fov); app.add_systems(PostUpdate, apply_input_to_player