PredictProjectilePath

Overload list

Windows
MacOS
Linux
Name Description

Public function Static

bool

 

PredictProjectilePath

(
    const UObject* WorldContextObj...,
    const FPredictProjectilePathParams ...,
    FPredictProjectilePathResult& Pred...
)

Predict the arc of a virtual projectile affected by gravity with collision checks along the arc.

Public function Static

bool

 

PredictProjectilePath

(
    const UObject* WorldContextObj...,
    FHitResult& OutHit,
    TArray< FVector >& OutPathPosition...,
    FVector& OutLastTraceDestination,
    FVector StartPos,
    FVector LaunchVelocity,
    bool bTracePath,
    float ProjectileRadius,
    const TArray< TEnumAsByte< EObjectT...,
    bool bTraceComplex,
    const TArray< AActor* >& Acto...,
    EDrawDebugTrace::Type DrawDebugType,
    float DrawDebugTime,
    float SimFrequency,
    float MaxSimTime,
    float OverrideGravityZ
)

PredictProjectilePath with many parameters has been deprecated in favor of the version taking single input parameter and output result structs.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss