UGameplayStatics::PredictProjectilePath

Deprecated version, use version with input/output struct params instead.

Windows
MacOS
Linux

Deprecated

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

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/GameplayStatics.h

Include

#include "Kismet/GameplayStatics.h"

Source

/Engine/Source/Runtime/Engine/Private/GameplayStatics.cpp

Syntax

static bool PredictProjectilePath
(
    const UObject * WorldContextObject,
    FHitResult & OutHit,
    TArray< FVector > & OutPathPositions,
    FVector & OutLastTraceDestination,
    FVector StartPos,
    FVector LaunchVelocity,
    bool bTracePath,
    float ProjectileRadius,
    const TArray< TEnumAsByte< EObjectTypeQuery > > & ObjectTypes,
    bool bTraceComplex,
    const TArray< AActor * > & ActorsToIgnore,
    EDrawDebugTrace::Type DrawDebugType,
    float DrawDebugTime,
    float SimFrequency,
    float MaxSimTime,
    float OverrideGravityZ
)

Remarks

Deprecated version, use version with input/output struct params instead.

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