MovementHandlerThirdPersonCombat
Class in Zigurous.CharacterController
Inherits from MovementHandler
Declaration
public class MovementHandlerThirdPersonCombat : MovementHandler
Description
A movement handler that moves the character relative to the camera's direction. The character can strafe and move backwards while always facing away from the camera. This movement style should be used in conjunction with a third person camera setup.
Static Properties
Instance | The shared instance of the third person combat movement handler. |
Properties
movementStyle | The type of movement style. |
Methods
GetDirection | Determines the character's movement direction. |
GetRotation | Determines the character's rotation. |
GetAnimationDirection | Determines the character's direction for animation purposes. This is usually the character's forward direction normalized in local space. |
Inherited
Properties
movableConditions | The conditions that must be met for the character to move. |
unmovableConditions | The conditions that prevent the character from moving. |