Module control_helpers

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
Helper for keeping track on entities the character was just interacting with, so that it won’t immediately interact with again after the action is finished.
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§

TnuaAirActionDefinition
Must be implemented by control schemes that want to use TnuaAirActionsTracker or TnuaSimpleAirActionsCounter.
TnuaHasTargetEntity
Must be implemented by control schemes that want to use TnuaBlipReuseAvoidance or