The Balance ability will keep the character oriented in the forward/backward direction of a narrow platform. The ability will restrict the character’s rotation so they can only move forward or backwards along the object.
- Select the + button in the ability list under the “Abilities” foldout of the Ultimate Character Locomotion component.
- Add the Balance ability. This ability should be positioned near the top of the list so it will override any abilities beneath it.
- Setup the balance object that the that the character should balance on. The balance object should either be in the specified Layer Mask or contain the Object Identifier component with the specified Object ID. See the Detect Ground Ability Base class for more information on these parameters. The balance object’s forward direction needs to be pointed along the length of the object:
Stop Force Threshold
The horizontal force required to stop the ability.
The amount of force to apply when the ability stops because of the stop force.
Stop Force Frames
The number of frames to apply the force in when the ability stops because of the stop force.