Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
Include |
#include "Components/PrimitiveComponent.h" |
Returns Distance to closest Body Instance surface.
Success if returns > 0.f, if returns 0.f, point is inside the geometry If returns < 0.f, this primitive does not have collsion or if geometry is not supported
Parameter |
Description |
---|---|
Point |
World 3D vector |
OutPointOnBody |
Point on the surface of collision closest to Point |