Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h |
Include |
#include "GameFramework/CharacterMovementComponent.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Components/CharacterMovementComponent.cpp |
FCollisionShape GetPawnCapsuleCollisionShape
(
const EShrinkCapsuleExtent ShrinkMode,
const float CustomShrinkAmount
) const
Get the collision shape for the Pawn owner, possibly reduced in size depending on ShrinkMode.
The capsule extent of the Pawn owner, possibly reduced in size depending on ShrinkMode.
Parameter |
Description |
---|---|
ShrinkMode |
Controls the way the capsule is resized. |
CustomShrinkAmount |
The amount to shrink the capsule, used only for ShrinkModes that specify custom. |