Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/ACharacter
References
| Module | Engine |
| 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
)
Remarks
Called when Character crouches. Called on non-owned Characters through bIsCrouched replication.
Parameters
| Name | Description |
|---|---|
| HalfHeightAdjust | difference between default collision half-height, and actual crouched capsule half-height. |
| ScaledHalfHeightAdjust | difference after component scale is taken in to account. |