MovementHandlerFirstPersonCombat

Inherits from MovementHandler

Declaration

public class MovementHandlerFirstPersonCombat : 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 first person camera setup.

Static Properties

InstanceThe shared instance of the first person combat movement handler.

Properties

movementStyleThe type of movement style.

Methods

GetDirectionDetermines the character's movement direction.
GetRotationDetermines the character's rotation.
GetAnimationDirectionDetermines the character's direction for animation purposes. This is usually the character's forward direction normalized in local space.
Inherited

Properties

movableConditionsThe conditions that must be met for the character to move.
unmovableConditionsThe conditions that prevent the character from moving.