idanarye / bevy-tnua

A floating character controller for Bevy
https://crates.io/crates/bevy-tnua
Apache License 2.0
180 stars 12 forks source link

Add a `FixedUpdate` option for determinism #43

Closed idanarye closed 4 months ago

idanarye commented 5 months ago

Both Rapier and XPBD can be configured to run in the FixedUpdate schedule, which makes them deterministic. Tnua should also be configurable to run in that schedule.

Note that this will require modifications to the physics backends crates as well, since they'll need to apply themselves in the FixedUpdate schedule.