fix mouse movement when player has high angular velocity
This commit is contained in:
parent
3d5385bd73
commit
a0577f4e7e
|
@ -19,7 +19,9 @@ impl Plugin for CameraControllerPlugin {
|
||||||
.after(PhysicsSet::Sync)
|
.after(PhysicsSet::Sync)
|
||||||
.before(TransformSystem::TransformPropagate));
|
.before(TransformSystem::TransformPropagate));
|
||||||
app.add_systems(Update, update_fov);
|
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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue