ClimbController
A physics character controller that moves its ControllerManager.RootPart along a climbable surface, such as a ladder.
| Memory category | Instances |
|---|
Member index 4
Removed member index 4
| History | Member | |
|---|---|---|
| 581 | BalanceRigidityEnabled: bool | |
| 581 | OrientationMaxTorque: float | |
| 543 | OrientationSpeed: float | |
| 581 | OrientationSpeedFactor: float |
Description
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.
History 40
- 731 Change Default of MoveMaxForce from to 10000
- 731 Change Default of BalanceSpeed from to 100
- 731 Change Default of BalanceMaxTorque from to 10000
- 731 Change Default of AccelerationTime from to 0
- 726 Change Default of MoveMaxForce from 10000 to
- 726 Change Default of BalanceSpeed from 100 to
- 726 Change Default of BalanceMaxTorque from 10000 to
- 726 Change Default of AccelerationTime from 0 to
- 597 Change Tags of ClimbController from [NotBrowsable] to []
- 581 Remove OrientationSpeedFactor
- 581 Remove OrientationMaxTorque
- 581 Remove BalanceRigidityEnabled
- 574 Change ThreadSafety of MoveMaxForce from LocalSafe to ReadSafe
- 574 Change ThreadSafety of BalanceSpeed from LocalSafe to ReadSafe
- 574 Change ThreadSafety of BalanceRigidityEnabled from LocalSafe to ReadSafe
- 574 Change ThreadSafety of BalanceMaxTorque from LocalSafe to ReadSafe
- 574 Change ThreadSafety of AccelerationTime from LocalSafe to ReadSafe
- 572 Change ThreadSafety of MoveMaxForce from ReadSafe to LocalSafe
- 572 Change ThreadSafety of BalanceSpeed from ReadSafe to LocalSafe
- 572 Change ThreadSafety of BalanceRigidityEnabled from ReadSafe to LocalSafe
- 572 Change ThreadSafety of BalanceMaxTorque from ReadSafe to LocalSafe
- 572 Change ThreadSafety of AccelerationTime from ReadSafe to LocalSafe
- 571 Change Default of OrientationSpeedFactor from 1 to 100
- 571 Change Default of OrientationMaxTorque from INF to 10000
- 571 Change Default of MoveMaxForce from INF to 10000
- 571 Add BalanceSpeed
- 571 Add BalanceRigidityEnabled
- 571 Add BalanceMaxTorque
- 553 Change Default of OrientationSpeedFactor from to 1
- 553 Change Default of OrientationMaxTorque from to INF
- 553 Change Default of MoveMaxForce from to INF
- 553 Change Default of AccelerationTime from to 0
- 543 Add OrientationSpeedFactor
- 543 Remove OrientationSpeed
- 542 Change Tags of ClimbController from [] to [NotBrowsable]
- 539 Add OrientationSpeed
- 539 Add OrientationMaxTorque
- 539 Add MoveMaxForce
- 539 Add AccelerationTime
- 539 Add ClimbController
Members 4
AccelerationTime
| Type | Default | |
|---|---|---|
| float | 0 | |
This property currently has no runtime effect. ClimbController
derives target speed from the requested move velocity and
ControllerBase.MoveSpeedFactor and does not read
AccelerationTime.
| Thread safety | ReadSafe |
|---|---|
| Category | Movement |
| Loaded/Saved | true |
History 6
- 731 Change Default of AccelerationTime from to 0
- 726 Change Default of AccelerationTime from 0 to
- 574 Change ThreadSafety of AccelerationTime from LocalSafe to ReadSafe
- 572 Change ThreadSafety of AccelerationTime from ReadSafe to LocalSafe
- 553 Change Default of AccelerationTime from to 0
- 539 Add AccelerationTime
BalanceMaxTorque
| Type | Default | |
|---|---|---|
| float | 10000 | |
The maximum torque used to keep the ControllerManager.RootPart aligned upright and aligned to the 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.
| Thread safety | ReadSafe |
|---|---|
| Category | Balance |
| Loaded/Saved | true |
History 5
- 731 Change Default of BalanceMaxTorque from to 10000
- 726 Change Default of BalanceMaxTorque from 10000 to
- 574 Change ThreadSafety of BalanceMaxTorque from LocalSafe to ReadSafe
- 572 Change ThreadSafety of BalanceMaxTorque from ReadSafe to LocalSafe
- 571 Add BalanceMaxTorque
BalanceSpeed
| Type | Default | |
|---|---|---|
| float | 100 | |
The maximum angular speed used to align the ControllerManager.RootPart upright and aligned to the 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.
| Thread safety | ReadSafe |
|---|---|
| Category | Balance |
| Loaded/Saved | true |
History 5
- 731 Change Default of BalanceSpeed from to 100
- 726 Change Default of BalanceSpeed from 100 to
- 574 Change ThreadSafety of BalanceSpeed from LocalSafe to ReadSafe
- 572 Change ThreadSafety of BalanceSpeed from ReadSafe to LocalSafe
- 571 Add BalanceSpeed
MoveMaxForce
| Type | Default | |
|---|---|---|
| float | 10000 | |
The maximum force used by the climbing "motor" to move the ControllerManager.RootPart or keep it stationary.
| Thread safety | ReadSafe |
|---|---|
| Category | Movement |
| Loaded/Saved | true |
History 7
- 731 Change Default of MoveMaxForce from to 10000
- 726 Change Default of MoveMaxForce from 10000 to
- 574 Change ThreadSafety of MoveMaxForce from LocalSafe to ReadSafe
- 572 Change ThreadSafety of MoveMaxForce from ReadSafe to LocalSafe
- 571 Change Default of MoveMaxForce from INF to 10000
- 553 Change Default of MoveMaxForce from to INF
- 539 Add MoveMaxForce
Removed members 4
BalanceRigidityEnabled
| Type | Default | |
|---|---|---|
| bool | false | |
| Thread safety | ReadSafe |
|---|---|
| Category | Balance |
| Loaded/Saved | true |
History 4
- 581 Remove BalanceRigidityEnabled
- 574 Change ThreadSafety of BalanceRigidityEnabled from LocalSafe to ReadSafe
- 572 Change ThreadSafety of BalanceRigidityEnabled from ReadSafe to LocalSafe
- 571 Add BalanceRigidityEnabled
OrientationMaxTorque
| Type | Default | |
|---|---|---|
| float | 10000 | |
| Thread safety | ReadSafe |
|---|---|
| Category | Balance |
| Loaded/Saved | true |
History 4
- 581 Remove OrientationMaxTorque
- 571 Change Default of OrientationMaxTorque from INF to 10000
- 553 Change Default of OrientationMaxTorque from to INF
- 539 Add OrientationMaxTorque
OrientationSpeed
| Type | Default | |
|---|---|---|
| float | ||
| Thread safety | ReadSafe |
|---|---|
| Category | Balance |
| Loaded/Saved | true |
History 2
- 543 Remove OrientationSpeed
- 539 Add OrientationSpeed
OrientationSpeedFactor
| Type | Default | |
|---|---|---|
| float | 100 | |
| Thread safety | ReadSafe |
|---|---|
| Category | Balance |
| Loaded/Saved | true |
History 4
- 581 Remove OrientationSpeedFactor
- 571 Change Default of OrientationSpeedFactor from 1 to 100
- 553 Change Default of OrientationSpeedFactor from to 1
- 543 Add OrientationSpeedFactor