PredictProjectilePathResult
Last updated
PredictProjectilePathResult is a data type that contains the result data of projectile path prediction.
boolean
Indicates whether a collision occurred during path prediction.
number
The distance from the launch start position to the collision point.
Instance
The instance that was hit. Returns nil if no collision occurred.
Vector3
The normal vector of the collision surface.
Vector3
The world-space coordinates of the collision point.
PredictProjectilePathPointData
The data of the last traced path point.
Vector3
The last position reached by the projectile.
Array
An array containing PredictProjectilePathPointData for each point along the predicted path.
number
The time elapsed (in seconds) from launch to the last path point.
Last updated