Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Kismet/GameplayStaticsTypes.h |
Include |
#include "Kismet/GameplayStaticsTypes.h" |
struct FPredictProjectilePathParams
Input parameters to PredictProjectilePath functions.
Name | Description | ||
---|---|---|---|
|
ActorsToIgnore |
Actors to ignore when tracing with collision. |
|
|
bTraceComplex |
Trace against complex collision (triangles rather than simple primitives) if tracing with collision. |
|
|
bTraceWithChannel |
Whether or not to use TraceChannel, if tracing with collision. |
|
|
bTraceWithCollision |
Whether to trace along the path looking for blocking collision and stopping at the first hit. |
|
|
float |
DrawDebugTime |
Duration of debug lines (only relevant for DrawDebugType::Duration) |
|
TEnumAsByte< ED... |
DrawDebugType |
Debug drawing duration option. |
|
LaunchVelocity |
Initial launch velocity at the start of the trace. |
|
|
float |
MaxSimTime |
Maximum simulation time for the virtual projectile. |
|
ObjectTypes |
Object type to use, if tracing with collision. |
|
|
float |
OverrideGravityZ |
Optional override of Gravity (if 0, uses WorldGravityZ). |
|
float |
ProjectileRadius |
Projectile radius, used when tracing for collision. If <= 0, a line trace is used instead. |
|
float |
SimFrequency |
Determines size of each sub-step in the simulation (chopping up MaxSimTime). Recommended between 10 to 30 depending on desired quality versus performance. |
|
StartLocation |
Location of the start of the trace. |
|
|
TEnumAsByte< EC... |
TraceChannel |
Trace channel to use, if tracing with collision. |
Name | Description | |
---|---|---|
|
FPredictProjectilePathParams() |
Empty constructor. You typically want to use another one that enforces thought about reasonable values for the most important parameters. |
|
FPredictProjectilePathParams |
Constructor defaulting to no collision. |
|
FPredictProjectilePathParams ( |
Constructor to use collision with an ObjectType. Additional types can be added to the array. TraceWithCollision is set to true automatically. |
|
FPredictProjectilePathParams ( |
Constructor to use collision with a trace channel. TraceWithCollision is set to true automatically. |