idanarye / bevy-tnua

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

Add a `FixedUpdate` option for determinism #43

Closed idanarye closed 8 months ago

idanarye commented 9 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.