Make PredictProjectilePathParams

Make PredictProjectilePathParams

Windows
MacOS
Linux

Adds a node that create a 'PredictProjectilePathParams' from its members

Make PredictProjectilePathParams
Start Location
X0.000000
Y0.000000
Z0.000000
Launch Velocity
X1.000000
Y0.000000
Z0.000000
Trace With Collision
Projectile Radius
0.000000
Max Sim Time
1.000000
Trace With Channel
Trace Channel
ECC_WorldStatic
Object Types
Actors To Ignore
Sim Frequency
20.000000
Override Gravity Z
0.000000
Draw Debug Type
None
Draw Debug Time
1.000000
Trace Complex
Predict Projectile Path Params

Inputs

Start Location
Vector

Location of the start of the trace.

Launch Velocity
Vector

Initial launch velocity at the start of the trace.

Trace With Collision
Boolean

Whether to trace along the path looking for blocking collision and stopping at the first hit.

Projectile Radius
Float

Projectile radius, used when tracing for collision. If <= 0, a line trace is used instead.

Max Sim Time
Float

Maximum simulation time for the virtual projectile.

Trace With Channel
Boolean

Whether or not to use TraceChannel, if tracing with collision.

Trace Channel
ECollisionChannel Enum

Trace channel to use, if tracing with collision.

Object Types
Array of EObjectTypeQuery Enums

Object type to use, if tracing with collision.

Actors To Ignore
Array of Actor Object References

Actors to ignore when tracing with collision.

Sim Frequency
Float

Determines size of each sub-step in the simulation (chopping up MaxSimTime). Recommended between 10 to 30 depending on desired quality versus performance.

Override Gravity Z
Float

Optional override of Gravity (if 0, uses WorldGravityZ).

Draw Debug Type
EDrawDebugTrace Enum

Debug drawing duration option.

Draw Debug Time
Float

Duration of debug lines (only relevant for DrawDebugType::Duration)

Trace Complex
Boolean

Trace against complex collision (triangles rather than simple primitives) if tracing with collision.

Outputs

Predict Projectile Path Params
Predict Projectile Path Params Structure
Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss