better g-force calculation

This commit is contained in:
yuni 2024-05-01 00:58:58 +02:00
parent 678b0c39e1
commit a9fc27ac27

View file

@ -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,