PlatformMovementSettings
Class in Zigurous.CharacterController
Inherits from MovementBehaviorSettings<T>
Declaration
[Serializable]
public class PlatformMovementSettings : MovementBehaviorSettings<PlatformMovement>
Description
Settings for platform movement.
Properties
platformLayers | The layer(s) for detecting moving platforms. |
rotateCharacter | Whether to rotate the character based on the platform's rotation. When turned off the character will still move from the rotation of a platform, but they will remain facing the same direction. |
Inherited
Properties
active | Whether the settings are active on a movement profile. Inactive settings will not display in the editor. |
enabled | Turns on or off the settings behavior. Enabled behaviors are updated every frame. |
isActiveAndEnabled | Whether the settings are active and enabled. |