MovementHandler.GetRotation

Method in MovementHandler

Declaration

public abstract Quaternion GetRotation(MovementController controller, MovementState state)

Description

Determines the character's rotation.

Parameters

controllerThe movement controller determining the rotation.
stateThe current movement state.

Returns

QuaternionThe new character rotation.