Skip to content

Class · inherits ControllerBase

ClimbController

Official docs ↗

A physics character controller that moves its ControllerManager.RootPart along a climbable surface, such as a ladder.

About ClimbController

ClimbController is a ControllerBase that produces climbing movement for a physics-based character. When it is assigned as the ControllerManager.ActiveController of a ControllerManager, the manager applies constraints each simulation step that move the ControllerManager.RootPart across the climbed surface while keeping it upright and aligned to that surface. Movement follows the surface reported by the manager's climb sensor (ControllerManager.ClimbSensor); if the manager has no climb sensor detecting a surface, the controller has no effect. The direction and target speed come from the requested move velocity scaled by ControllerBase.MoveSpeedFactor, while the ClimbController.MoveMaxForce, ClimbController.BalanceSpeed, and ClimbController.BalanceMaxTorque properties tune how forcefully and how quickly the root part moves and re-aligns.

Properties 4

  • AccelerationTime: floatCurrently unused; reserved for future climb acceleration ramp timing.

    This property currently has no runtime effect. ClimbController derives target speed from the requested move velocity and ControllerBase.MoveSpeedFactor and does not read AccelerationTime.

  • BalanceMaxTorque: floatThe maximum torque used to keep the ControllerManager.RootPart aligned upright and aligned to the climbed surface.

    The maximum torque used to keep the ControllerManager.RootPart aligned upright and aligned to the Class.ControllerManager.ClimbSensor.HitNormal. When misaligned, this amount of torque is applied to reach the BalanceSpeed and realign the root part. A higher torque means more force is required to cause the root part to tilt. This property is hidden and has no effect when ControllerBase.BalanceRigidityEnabled is true.

  • BalanceSpeed: floatThe maximum angular speed used to align the ControllerManager.RootPart upright and with the climbed surface.

    The maximum angular speed used to align the ControllerManager.RootPart upright and aligned to the Class.ControllerManager.ClimbSensor.HitNormal. A lower value means it takes longer for the root part to recover to the align position when misaligned. A higher value results in a quicker recovery.

  • MoveMaxForce: floatThe maximum force used by the climbing "motor" to move the ControllerManager.RootPart or keep it stationary.

ClimbController also has every member of ControllerBase. Deprecated and Roblox-only members are hidden.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.