UCapsuleComponent::SetCapsuleSize

Change the capsule size. This is the unscaled size, before component scale is applied.