MovementHandler
Class in Zigurous.CharacterController
Declaration
public abstract class MovementHandler
Description
A movement style handler that calculates the direction and rotation of the character relative to the camera.
Properties
movementStyle | The type of movement style. |
movableConditions | The conditions that must be met for the character to move. |
unmovableConditions | The conditions that prevent the character from moving. |
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. |