Download

PredictProjectilePath SimFrequency

I call UGameplayStatics::PredictProjectilePath with an FPredictProjectilePathParams filled out with the SimFrequency set. I set it to the number of spline meshes in a spline I want to adjust to render the predicted projectile path. However, when I adjust the MaxSimTime that I call the function with, it clearly returns more values in the FPredictProjectilePathResult::PathData array than the sim frequency I’d set.

What gives?

EDIT: Aaaand immediately after typing that out, I realized why it was specifically named “Frequency” and adjusted it to account for the increased period of MaxSimTime, and it works as expected.