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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback