Thanks for replying!
I haven’t considered using an external ide, but I’ll give it a shot.
FHitResult HitResult = FHitResult();
FVector StartTrace = FirstPersonCameraComponent->GetComponentLocation();
FVector ForwardVector = FirstPersonCameraComponent->GetForwardVector();
FVector EndTrace = (ForwardVector * 5000.f) + StartTrace;
FCollisionQueryParams CQP = FCollisionQueryParams();
if (GetWorld()->LineTraceSingleByChannel(HitResult, StartTrace, EndTrace, ECC_Visibility, CQP))
DrawDebugLine(GetWorld(), StartTrace, EndTrace, FColor(255, 0, 0), true);
if (HitResult.GetActor() != NULL)
That’s one piece of code I’d like to get working. I was using it within the class of the player character.
This is a really messy set of blueprints, but it would be nice to know where to start with breaking that down into Skookum. I understand if it’s a bit much to sort through though, sorry!