From f8913b8fa3d3730e99d6c6b63fed12f596b549e9 Mon Sep 17 00:00:00 2001 From: yuni Date: Wed, 12 Jun 2024 01:30:07 +0200 Subject: [PATCH] fix positioning of scene objects --- src/game.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/game.rs b/src/game.rs index e324840..fe6df2a 100644 --- a/src/game.rs +++ b/src/game.rs @@ -29,7 +29,10 @@ impl Plugin for GamePlugin { app.add_systems(Update, debug); app.add_systems(PostUpdate, handle_game_event); 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( Update,