Expand description
Generic properties of basis that actions and control helpers may rely on.
All the basis capabilities provided by Tnua itself should be in this module, but third party crates can define their own. Custom capabilities for user code (an actual game that uses Tnua) are usually redundant, since actions and control helpers defined there can usually just use the concrete basis.
Capabilities typically use TnuaBasisAccess to access the basis, since it provides the
configuration and memory of the basis rather than just the input.
Traitsยง
- Tnua
Basis With Displacement - The basis has a specific point the character should be at, which may not be the actual position in Bevy or in the physics engine.
- Tnua
Basis With Floating - The basis is a floating character controller.
- Tnua
Basis With Frame OfReference Surface - The character controlled by the basis may stand on the surface of an moving object, and needs to move together with said object.
- Tnua
Basis With Ground - The basis keeps track on the entity the chracter stands on - and whether or not it stands on something.
- Tnua
Basis With Headroom - The basis can keeps track of the space above the character.
- Tnua
Basis With Spring - The basis applies a spring force.