| UPrimitiveComponent::GetSquaredDistanceToCollision()
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h |
Include |
#include "Components/SkeletalMeshComponent.h" |
Source |
/Engine/Source/Runtime/Engine/Private/SkeletalMeshComponentPhysics.cpp |
Returns The square of the distance to closest Body Instance surface.
true if a distance to the body was found and OutDistanceSquared has been populated
Parameter |
Description |
---|---|
Point |
World 3D vector |
OutSquaredDistance |
The squared distance to closest Body Instance surface. 0 if inside of the body |
OutPointOnBody |
Point on the surface of collision closest to Point |