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
);