Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/TaperedCapsuleElem.h |
Include |
#include "PhysicsEngine/TaperedCapsuleElem.h" |
Source |
/Engine/Source/Runtime/Engine/Private/PhysicsEngine/PhysDrawing.cpp |
static void DrawTaperedCapsuleSides
(
FPrimitiveDrawInterface * PDI,
const FTransform & ElemTM,
const FVector & InCenter0,
const FVector & InCenter1,
float InRadius0,
float InRadius1,
const FColor & Color
)
Draws just the sides of a tapered capsule specified by provided Spheres that can have different radii. Does not draw the spheres, just the sleeve. Extent geometry endpoints not necessarily coplanar with sphere origins (uses hull horizon) Otherwise uses the great-circle cap assumption.