Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/Character.h |
Include |
#include "GameFramework/Character.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Character.cpp |
virtual void OnStartCrouch
(
float HalfHeightAdjust,
float ScaledHalfHeightAdjust
)
Called when Character crouches. Called on non-owned Characters through bIsCrouched replication.
Parameter |
Description |
---|---|
HalfHeightAdjust |
difference between default collision half-height, and actual crouched capsule half-height. |
ScaledHalfHeightAdjust |
difference after component scale is taken in to account. |