bCrouchMaintainsBaseLocation

If true, crouching should keep the base of the capsule in place by lowering the center of the shrunken capsule.

Choose your operating system:

Windows

macOS

Linux

Syntax

uint8 bCrouchMaintainsBaseLocation: 1

Remarks

If true, crouching should keep the base of the capsule in place by lowering the center of the shrunken capsule. If false, the base of the capsule moves up and the center stays in place. The same behavior applies when the character uncrouches: if true, the base is kept in the same location and the center moves up. If false, the capsule grows and only moves up if the base impacts something. By default this variable is set when the movement mode changes: set to true when walking and false otherwise. Feel free to override the behavior when the movement mode changes.