Method PredictPositionDelta
PredictPositionDelta(float)
Predict the target's position change over a given time from now
Declaration
public Vector3 PredictPositionDelta(float lookaheadTime)
Parameters
Type | Name | Description |
---|---|---|
float | lookaheadTime | How far ahead in time to predict |
Returns
Type | Description |
---|---|
Vector3 | The predicted position change (current velocity * lookahead time) |