Predict Projectile Path (Advanced)

Predict Projectile Path (Advanced)

Windows
MacOS
Linux

Predict the arc of a virtual projectile affected by gravity with collision checks along the arc. Returns true if it hit something.

Target is Gameplay Statics

Predict Projectile Path (Advanced)
Predict Params
Predict Result
Return Value

Inputs

In
Exec
Predict Params
Predict Projectile Path Params Structure (by ref)

Input params to the trace (start location, velocity, time to simulate, etc).

Outputs

Out
Exec
Predict Result
Predict Projectile Path Result Structure

Output result of the trace (Hit result, array of location/velocity/times for each trace step, etc).

Return Value
Boolean

True if hit something along the path (if tracing with collision).

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