Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UCapsuleComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/CapsuleComponent.h |
| Include | #include "Components/CapsuleComponent.h" |
void SetCapsuleHalfHeight
&40;
float HalfHeight,
bool bUpdateOverlaps
&41;
Remarks
Set the capsule half-height. This is the unscaled half-height, before component scale is applied. If this capsule collides, updates touching array for owner actor.
Parameters
| Name | Description |
|---|---|
| HalfHeight | : half-height, from capsule center to end of top or bottom hemisphere. |
| bUpdateOverlaps | if true and this shape is registered and collides, updates touching array for owner actor. |