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 SetCapsuleRadius
&40;
float Radius,
bool bUpdateOverlaps
&41;
Remarks
Set the capsule radius. This is the unscaled radius, before component scale is applied. If this capsule collides, updates touching array for owner actor.
Parameters
| Name | Description |
|---|---|
| Radius | : radius of end-cap hemispheres and center cylinder. |
| bUpdateOverlaps | if true and this shape is registered and collides, updates touching array for owner actor. |