When I first spawn in and press my line trace button it is good, it line traces right in front of me, but if I rotate my camera around a bit and then try line tracing, all of a sudden it is no longer line tracing in front of me, does anyone know why this is happening?
LineTrace
FVector Start = PlayerCamera->GetComponentLocation();
FVector End = PlayerCamera->GetForwardVector() * 1500.f;
FCollisionQueryParams Params;
Params.AddIgnoredActor(this);
DrawDebugLine(GetWorld(), Start, End, FColor(255, 0, 0, 1), true, 10.f, 2, 20);
return GetWorld()->LineTraceSingleByChannel(Hit, Start, End, ECollisionChannel::ECC_Camera, Params);