Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UCapsuleComponent
Description
Returns the capsule half-height minus radius (to exclude the hemisphere), ignoring component scaling. This excludes the hemisphere end cap. From the center of the capsule this is the vertical distance along the straight cylindrical portion to the point just before the curve of top hemisphere begins.
| Name | GetUnscaledCapsuleHalfHeight_WithoutHemisphere |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/CapsuleComponent.h |
| Include Path | #include "Components/CapsuleComponent.h" |
UFUNCTION (BlueprintCallable, Category="Components|Capsule")
float GetUnscaledCapsuleHalfHeight_WithoutHemisphere() const
The capsule half-height minus radius, ignoring component scaling.