Skip to content

Crouch Component

The Crouch Component controls smooth crouch and uncrouch movement in Motion 1.6. It detects the floor and ceiling. This detection prevents excessive capsule expansion. It also permits partial uncrouch movement when the ceiling height permits it. A crouched character receives a speed penalty.

Configuration

VariableDescription
Is Input ToggleUses the input key as a toggle. This option is useful for a gamepad.
Target Crouch Camera OffsetCamera offset during crouch.
Crouch SpeedSpeed value to add during crouch. Use a negative value to decrease character speed.
Capsule Half Height When CrouchingTarget capsule half height during crouch.
Do Crouch SpeedSpeed multiplier for the crouch height change in one frame. The formula is CrouchSpeed * DeltaTime.
Do Uncrouch SpeedSpeed multiplier for the uncrouch height change in one frame. The formula is CrouchSpeed * DeltaTime.
Overlap Actor TypesActor types for collision detection during uncrouch.
Class Exception List For OverlapActor classes that ceiling detection ignores.
Show Debug InformationShows useful runtime values on the screen.

Motion - Advanced First Person Character Controller