PlatformMovement
Class in Zigurous.CharacterController
Inherits from MovementBehavior<T>
Declaration
public sealed class PlatformMovement : MovementBehavior<PlatformMovementSettings>
Description
Moves a character with the movement of a platform.
Properties
platform | The platform the character is currently grounded on. |
platformRotation | The rotation of the platform during the last frame. This is used to calculated the change in rotation. |
groundedLocalPosition | The position of the character in local space relative to the platform they are grounded on. |
groundedPosition | The position of the character in world space relative to the platform they are grounded on. |
Methods
OnPostUpdate | Checks for any state changes after the process is handled. |
Inherited
Properties
settings | The settings for the behavior. |
enabled | Enables or disables the behavior from being updated. |
controller | The movement controller handling the process. |
registered | Whether the process has been registered to a controller. |
order | Determines the order in which processes are handled. The process with the lowest order value is handled first. |
id | The unique identifier of the movement process. |