Module |
|
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
(
const UObject * WorldContextObject,
const FPredictProjectilePathParams & PredictParams,
FPredictProjectilePathResult & PredictResult
)
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).
Parameter |
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). |