FBodyInstance::GetSquaredDistanceToBody

Get distance to the body surface if available It is only valid if BodyShape is convex If point is inside distance it will be 0 Returns false if geometry is not supported