UE_LOG(LogTemp,Warning,TEXT("Distance(Pawn, Actor with TargetLocation) : %f"),FVector::Distance(RootComponent->GetComponentLocation(),Hit.Actor.Get()->GetTargetLocation()));
UE_LOG(LogTemp,Warning,TEXT("Distance(Pawn, Actor with ActorLocation) : %f"),FVector::Distance(RootComponent->GetComponentLocation(),Hit.Actor.Get()->GetActorLocation()));
//DistancBetwCollisionAndClossestPointOnSurface = OtherComponent->GetDistanceToCollision(CapsuleColliderComponent->GetComponentLocation(), closestPointOnSurface);//Gibt die Entfernung zur nchstgelegenen Krperinstanzoberflche zurck.