MovementHandlerThirdPersonAdventure

Inherits from MovementHandler

Declaration

public class MovementHandlerThirdPersonAdventure : MovementHandler

Description

A movement handler that moves the character relative to the input in relation to the camera. The character will always move forward while rotating to face the direction of the input. For example, if the character moves backwards, then they will rotate towards the camera and begin walking forward in that direction. This movement style should be used in conjunction with a third person camera setup.

Static Properties

InstanceThe shared instance of the third person adventure 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.