GravitySettings
Inherits from Zigurous.CharacterController.MovementSettings
Declaration
[Serializable]
public sealed class GravitySettings : MovementSettings
Description
The gravity settings for a movement controller.
Properties
groundLayers | The layer(s) to detect the ground. |
stickToGround | Applies a downward force to the character while on the ground so they stick to the ground despite gravity. |
useCustomGravity | Uses the custom gravity force when set to true or uses Physics.gravity when set to false. |
gravityForce | The custom gravity force direction. |