UGameplayStatics::SuggestProjectileVelocity

Native version, has more options than the Blueprint version.

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 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.

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