fix AR flicker when moving
This commit is contained in:
parent
a14e295007
commit
336527c4c0
|
@ -25,11 +25,13 @@ impl Plugin for HudPlugin {
|
|||
app.add_systems(Startup, setup);
|
||||
app.add_systems(Update, (
|
||||
update_hud,
|
||||
update_ar_overlays,
|
||||
handle_input,
|
||||
handle_target_event,
|
||||
));
|
||||
app.add_systems(PostUpdate, (
|
||||
update_ar_overlays
|
||||
.after(world::position_to_transform)
|
||||
.in_set(sync::SyncSet::PositionToTransform),
|
||||
update_target_selectagon
|
||||
.after(PhysicsSet::Sync)
|
||||
.after(camera::apply_input_to_player)
|
||||
|
|
Loading…
Reference in a new issue