Crosshair not appearing

I’m having an issue with the crosshair display I assume it is to do with my Event found aiming component as it is not displaying the widget at all.

my github link is here: https://github.com/TimKardaras/RagingWar

void ATankPlayerController::BeginPlay() {

	Super::BeginPlay();
    //You have these commented out
	auto AimingComponent = GetPawn()->FindComponentByClass<UTankAimingComponent>();
	if (!ensure(AimingComponent)) { return; }
	FoundAimingComponent(AimingComponent);
    ///////
}
1 Like

I feel like an idiot I completely forgot I actually did that

Privacy & Terms