Download

I can't get the overlap point

Hello everyone, I have a sphere component that is subscribed to the OnComponentBeginOverlap delegate, the variable FHitResult & SweepResult is passed to the delegate function, I’m trying to display the overlap point via DrawDebugSphere (GetWorld (), SweepResult.ImpactPoint, 20.f, 12, FColor :: Yellow, false, 10.f); but the sphere is drawn in coordinates 0,0,0, how can I get the overlap point? Sorry for the bad English, I wrote through a translator

Unfortunately overlaps don’t generate hit results, collisions do. If you can’t use collisions, you can try using a sphereTrace node to similar effect but keep in mind the sphereTrace start and end locations can’t be the same location.