FallHeight
Class in Zigurous.CharacterController
Inherits from MovementBehavior<T>
Declaration
public sealed class FallHeight : MovementBehavior<FallHeightSettings>
Description
Handles fall recovery and damage after the character lands from high heights.
Properties
damaged | The event invoked when the character takes fall damage. |
height | The height of the character's last fall. |
damage | The amount of damage the character took from the last fall. |
elevation | The elevation of the character while on the ground. |
recoveryTimeRemaining | The amount of seconds left before the character finishes recovering from the fall. |
recoveryDuration | The amount of seconds the current fall recovery will last. |
recoveryPercent | The completion percentage of the current fall recovery. |
recovering | Whether the character is currently recovering from a fall. |
Inherited
Properties
settings | The settings for the behavior. |
enabled | Enables or disables the behavior from being updated. |
controller | The movement controller handling the process. |
registered | Whether the process has been registered to a controller. |
order | Determines the order in which processes are handled. The process with the lowest order value is handled first. |
id | The unique identifier of the movement process. |