Unreal Engine 4 Documentation > Unreal Engine API Reference > Runtime > Engine > Kismet > UGameplayStatics > UGameplayStatics::SuggestProjectileVelocity

UGameplayStatics::SuggestProjectileVelocity

Syntax

static bool SuggestProjectileVelocity
(
    const UObject * WorldContextObject,
    FVector & TossVelocity,
    FVector StartLocation,
    FVector EndLocation,
    float TossSpeed,
    bool bHighArc,
    float CollisionRadius,
    float OverrideGravityZ,
    ESuggestProjVelocityTraceOption::Type TraceOption,
    const FCollisionResponseParams & ResponseParam,
    const TArray < AActor * > & ActorsToIgnore,
    bool bDrawDebug
)

Remarks

Native version, has more options than the Blueprint version.

References

Module

Engine

Header

Runtime/Engine/Classes/Kismet/GameplayStatics.h

Source

Runtime/Engine/Private/GameplayStatics.cpp