Returns the motion direction for the object to hit the target object
intercept_course(start, target, speed, targetSpeed, targetDirection)
Vector2
float
Returns: double
double
This function returns the motion direction for the object to hit the target object.
double value = intercept_course(Position, new Vector2(Position.X + 512, Position.Y), 10, 5, 90);
This function will set value to 30,000016.
Back to Raycasting
There was an error while loading. Please reload this page.