ControllerManager

Show Deprecated
Not Browsable

The ControllerManager instance manages simulated motion control for its parent Humanoid. Its presence in a Humanoid disables the legacy controller.

Summary

Properties

The ControllerBase that is currently enabled on the character.

READ ONLY
NOT REPLICATED

The base linear movement speed used by all controllers.

The base angular turning speed used by all controllers.

The unit vector describing the desired direction to face.

HIDDEN
NOT REPLICATED

The vector describing the desired direction to move in.

Events

Methods


Returns a table of ControllerBases that are mapped to a Humanoid state.

Properties

ActiveController

Read Only
Not Replicated

BaseMoveSpeed

The base linear movement speed used by all controllers. Controllers individually customize speed by setting the ControllerBase.MoveSpeedFactor property.

BaseTurnSpeed

The base angular turning speed used by all controllers to align the character to face the desired direction.

FacingDirection

The unit vector describing the desired direction to face. This is currently written to by the internal Humanoid state machine and cannot be overwritten.

HipHeight

Hidden
Not Replicated

MovingDirection

The vector describing the desired direction to move in, with a magnitude between 0 and 1. This is currently written to by the internal Humanoid state machine and cannot be overwritten.

Events

Methods

GetControllers

Returns a table of ControllerBases that are mapped to a Humanoid state. ControllerBase children that are not mapped to a Humanoid state will not be included.


Returns