bool hit = GetWorld()->LineTraceSingleByChannel(
RV_Hit, //result
this->GetActorLocation() + SourceLocation, //start
this->GetActorLocation() + TargetLocation, //end
ECC_Pawn, //collision channel
RV_TraceParams
);
i had to use this
bool hit = GetWorld()->LineTraceSingleByChannel(
RV_Hit, //result
this->GetActorLocation() + SourceLocation, //start
this->GetActorLocation() + TargetLocation, //end
ECC_Pawn, //collision channel
RV_TraceParams
);
i had to use this