GeneralSettings
Inherits from Zigurous.CharacterController.MovementSettings
Declaration
[Serializable]
public sealed class GeneralSettings : MovementSettingsDescription
The general movement settings for a movement controller.
Properties
| horizontalAxis | The input axis for horizontal movement. |
| verticalAxis | The input axis for vertical movement. |
| minInputThreshold | Clamps the input magnitude lower than the min to zero. |
| maxInputThreshold | Clamps the input magnitude greater than the max to one. |
| baseSpeed | The base speed of the character. |
| acceleration | The rate at which the character accelerates while on the ground. |
| deceleration | The rate at which the character decelerates while on the ground. |
| turnSpeed | How quickly the character can change direction. This is only applicable for the Third Person Adventure movement style. |
| rotationSpeed | How 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. |
| speedModifiers | The modifiers applied to the character's speed when given movement state conditions are met. |
| accelerationModifiers | The modifiers applied to the character's acceleration/deceleration when given movement state conditions are met. |
| turnSpeedModifiers | The 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. |
| rotationSpeedModifiers | The modifiers applied to the character's rotation speed when given movement state conditions are met. This is only applicable for third person movement styles. |
| preventingTurnConditions | The movement state conditions that prevent the character from turning/rotating (depending on the movement style). This is only applicable for third person movement styles. |