diff --git a/src/camera.rs b/src/camera.rs index e002ee4..7ab5e26 100644 --- a/src/camera.rs +++ b/src/camera.rs @@ -19,7 +19,9 @@ impl Plugin for CameraControllerPlugin { .after(PhysicsSet::Sync) .before(TransformSystem::TransformPropagate)); app.add_systems(Update, update_fov); - app.add_systems(Update, apply_input_to_player); + app.add_systems(PostUpdate, apply_input_to_player + .after(PhysicsSet::Sync) + .before(TransformSystem::TransformPropagate)); } }