fix positioning of scene objects

This commit is contained in:
yuni 2024-06-12 01:30:07 +02:00
parent 94ea7ecec2
commit f8913b8fa3

View file

@ -29,7 +29,10 @@ impl Plugin for GamePlugin {
app.add_systems(Update, debug); app.add_systems(Update, debug);
app.add_systems(PostUpdate, handle_game_event); app.add_systems(PostUpdate, handle_game_event);
app.add_systems(PreUpdate, handle_player_death); app.add_systems(PreUpdate, handle_player_death);
app.add_systems(PostUpdate, update_id2pos); app.add_systems(
PostUpdate,
update_id2pos.in_set(bevy_xpbd_3d::plugins::sync::SyncSet::PositionToTransform),
);
app.add_systems(PostUpdate, update_id2v); app.add_systems(PostUpdate, update_id2v);
app.add_systems( app.add_systems(
Update, Update,