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

LockedAxis #29

Closed CMorrison82z closed 8 months ago

CMorrison82z commented 8 months 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 8 months 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.