fix mouse movement when player has high angular velocity

This commit is contained in:
yuni 2024-03-30 19:49:47 +01:00
parent 3d5385bd73
commit a0577f4e7e

View file

@ -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));
}
}