SuggestProjectileVelocity returns false for the AI

But it works fine if I specify all the parameters:

bool bHasSuggestedVelocity = UGameplayStatics::SuggestProjectileVelocity(
		this,
		LaunchVelocity,
		StartLocation,
		AimWorldPosition,
		LaunchSpeed,
		false,
		.0f,
		.0f,
		ESuggestProjVelocityTraceOption::DoNotTrace,
		FCollisionResponseParams::DefaultResponseParam,
		ActorsToIgnore,
		false
	);

Solved: Just solved a couple of videos later (report bugs vid)

Privacy & Terms