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§
- Tnua
Actions Counter - An helper for counting the actions in scenarios where actions can only be done a limited amount of times. Mainly used for implementing air actions.
- Tnua
AirActions Plugin - Use the action slots definition to track air actions.
- Tnua
AirActions Tracker Deprecated - An helper for tracking air actions.
- Tnua
Blip Reuse Avoidance - 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.
- Tnua
Handle ForSimple Fall Through Platforms Helper - Handle for working with
TnuaSimpleFallThroughPlatformsHelper. - Tnua
Simple AirActions Counter Deprecated - A simple counter that counts together all the air actions a character is able to perform.
- Tnua
Simple Fall Through Platforms Helper - Helper component for implementing fall-through platforms.
Enums§
- Tnua
Action Counting Action Rule - A decision, defined by
TnuaActionSlots, regarding an individual action. - Tnua
Action Counting Status - An helper for tracking whether or not the character is in a situation when actions are counted.
- Tnua
Action Counting Update - The result of
TnuaActionCountingStatus::update(). - Tnua
AirActions Update - The result of
TnuaAirActionsTracker::update().
Traits§
- Tnua
Action Slots - See the derive macro.
- Tnua
AirAction Definition - Must be implemented by control schemes that want to use
TnuaAirActionsTrackerorTnuaSimpleAirActionsCounter. - Tnua
HasTarget Entity - Must be implemented by control schemes that want to use
TnuaBlipReuseAvoidanceor
Derive Macros§
- Tnua
Action Slots - Define the behavior of action that can be performed a limited amount of times during certain durations (e.g. air actions)