Module control_helpers

Source
Expand description

Various helpers to make Tnua’s advanced features easier to use.

See https://github.com/idanarye/bevy-tnua/wiki

Tnua exposes its mid-level data for user systems to allow as much flexibility and customizability as it can provide. This, however, means that some of the advanced features can be complex to use. This module provides helpers that allow using these features in an easier although less flexible way.

Structs§

TnuaAirActionsTracker
An helper for tracking air actions.
TnuaBlipReuseAvoidance
TnuaCrouchEnforcer
Prevents the character from standing up if the player stops feeding a crouch action (like TnuaBuiltinCrouch) while under an obstacle.
TnuaCrouchEnforcerPlugin
TnuaHandleForSimpleFallThroughPlatformsHelper
Handle for working with TnuaSimpleFallThroughPlatformsHelper.
TnuaSimpleAirActionsCounter
A simple counter that counts together all the air actions a character is able to perform.
TnuaSimpleFallThroughPlatformsHelper
Helper component for implementing fall-through platforms.

Enums§

TnuaAirActionsUpdate
The result of TnuaAirActionsTracker::update().

Traits§

TnuaCrouchEnforcedAction
An action that can be enforced by TnuaCrouchEnforcer.