UCharacterMovementComponent::UnCrouch

Checks if default capsule size fits (no encroachment), and trigger OnEndCrouch() on the owner if successful.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h

Include

#include "GameFramework/CharacterMovementComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/CharacterMovementComponent.cpp

Syntax

virtual void UnCrouch
(
    bool bClientSimulation
)

Remarks

Checks if default capsule size fits (no encroachment), and trigger OnEndCrouch() on the owner if successful.

Parameters

Parameter

Description

bClientSimulation

true when called when bIsCrouched is replicated to non owned clients, to update collision cylinder and offset.