Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UGameplayStatics
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 |
static bool Blueprint_PredictProjectilePath_Advanced
&40;
const UObject &42; WorldContextObject,
const FPredictProjectilePathParams & PredictParams,
FPredictProjectilePathResult & PredictResult
&41;
Remarks
Predict the arc of a virtual projectile affected by gravity with collision checks along the arc. Returns true if it hit something. True if hit something along the path (if tracing with collision).
Parameters
Name | Description |
---|---|
PredictParams | Input params to the trace (start location, velocity, time to simulate, etc). |
PredictResult | Output result of the trace (Hit result, array of location/velocity/times for each trace step, etc). |