idanarye / bevy-tnua

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

LockedAxis #29

Closed CMorrison82z closed 1 year ago

CMorrison82z commented 1 year ago

Docs mention a way for locking the tilt of a character (rigidly align the body with up), but I can't actually find any component or properties to achieve this.

idanarye commented 1 year ago

This is not done in Tnua. This is done in the physics backend - e.g. if you are using bevy_rapier3d, you need the LockedAxes component.

I'll amend the docs to make this more clear.