better g-force calculation
This commit is contained in:
parent
678b0c39e1
commit
a9fc27ac27
|
@ -37,8 +37,10 @@ impl Plugin for ActorPlugin {
|
||||||
update_physics_lifeforms,
|
update_physics_lifeforms,
|
||||||
handle_wants_maxrotation,
|
handle_wants_maxrotation,
|
||||||
handle_wants_maxvelocity,
|
handle_wants_maxvelocity,
|
||||||
handle_gforce,
|
|
||||||
));
|
));
|
||||||
|
app.add_systems(PostUpdate, handle_gforce
|
||||||
|
.after(PhysicsSet::Sync)
|
||||||
|
.after(sync::position_to_transform));
|
||||||
app.add_systems(Update, (
|
app.add_systems(Update, (
|
||||||
handle_input,
|
handle_input,
|
||||||
handle_collisions,
|
handle_collisions,
|
||||||
|
|
Loading…
Reference in a new issue