fix camera jitter~
This commit is contained in:
parent
a0577f4e7e
commit
7d36200a24
|
@ -17,6 +17,7 @@ impl Plugin for CameraControllerPlugin {
|
||||||
app.add_systems(Update, manage_player_actor.after(handle_input));
|
app.add_systems(Update, manage_player_actor.after(handle_input));
|
||||||
app.add_systems(PostUpdate, sync_camera_to_player
|
app.add_systems(PostUpdate, sync_camera_to_player
|
||||||
.after(PhysicsSet::Sync)
|
.after(PhysicsSet::Sync)
|
||||||
|
.after(apply_input_to_player)
|
||||||
.before(TransformSystem::TransformPropagate));
|
.before(TransformSystem::TransformPropagate));
|
||||||
app.add_systems(Update, update_fov);
|
app.add_systems(Update, update_fov);
|
||||||
app.add_systems(PostUpdate, apply_input_to_player
|
app.add_systems(PostUpdate, apply_input_to_player
|
||||||
|
|
Loading…
Reference in a new issue