MovementStyle
Enum in Zigurous.CharacterController
Declaration
public enum MovementStyle
Description
A type of movement style that determines how the character moves and rotates relative to the camera.
Properties
ThirdPersonAdventure | 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. |
ThirdPersonCombat | 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. |
FirstPersonCombat | 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. |
None | Prevents the character from moving. |
Custom | Movement is handled through a custom script. |