Jetpack
Inherits from Zigurous.CharacterController.MovementAbility<T>
Declaration
public sealed class Jetpack : MovementAbility<JetpackSettings>
Description
A movement ability that allows a character to fly around.
Properties
movementFlags | The movement flag(s) associated with the ability. The flag(s) will be set when the ability is turned on and unset when the ability is turned off. |
thrust | The current thrust vector of the jetpack. |
fuelRemaining | The current amount of fuel remaining. |
Methods
OnAbilityActivated | A callback invoked when the ability is activated. |
OnAbilityDeactivated | A callback invoked when the ability is deactivated. |
CanAbilityBeActivated | Determines if the ability can be activated given the current state of the character. |
CanAbilityStayActive | Determines if the ability can stay active given the current state of the character. |