GeneralSettings

Inherits from Zigurous.CharacterController.MovementSettings

Declaration

[Serializable]
public sealed class GeneralSettings : MovementSettings

Description

The general movement settings for a movement controller.

Properties

horizontalAxisThe input axis for horizontal movement.
verticalAxisThe input axis for vertical movement.
minInputThresholdClamps the input magnitude lower than the min to zero.
maxInputThresholdClamps the input magnitude greater than the max to one.
baseSpeedThe base speed of the character.
accelerationThe rate at which the character accelerates while on the ground.
decelerationThe rate at which the character decelerates while on the ground.
turnSpeedHow quickly the character can change direction. This is only applicable for the Third Person Adventure movement style.
rotationSpeedHow quickly the character rotates to face the current direction. The character's rotation is a visual indication of their direction but does not affect the actual movement. This is only applicable for third person movement styles.
speedModifiersThe modifiers applied to the character's speed when given movement state conditions are met.
accelerationModifiersThe modifiers applied to the character's acceleration/deceleration when given movement state conditions are met.
turnSpeedModifiersThe modifiers applied to the character's turn speed when given movement state conditions are met. This is only applicable for the Third Person Adventure movement style.
rotationSpeedModifiersThe modifiers applied to the character's rotation speed when given movement state conditions are met. This is only applicable for third person movement styles.
preventingTurnConditionsThe movement state conditions that prevent the character from turning/rotating (depending on the movement style). This is only applicable for third person movement styles.