diff --git a/src/actor.rs b/src/actor.rs index 2f005fe..95bc73d 100644 --- a/src/actor.rs +++ b/src/actor.rs @@ -37,8 +37,10 @@ impl Plugin for ActorPlugin { update_physics_lifeforms, handle_wants_maxrotation, handle_wants_maxvelocity, - handle_gforce, )); + app.add_systems(PostUpdate, handle_gforce + .after(PhysicsSet::Sync) + .after(sync::position_to_transform)); app.add_systems(Update, ( handle_input, handle_collisions,