RouteFlight

public final class RouteFlight

Advances a point along the authored curve each tick and steers the body to it. The author owns the route's clearance. The route reports arrival when that point reaches the end, which assumes the body keeps up, so the speed never exceeds MAX_FLIGHT_SPEED.

Constructors

Link copied to clipboard
public void RouteFlight(CurvedRoute route, double blocksPerSecond, double accelerationPerSecond)

Types

Link copied to clipboard
public enum Status

Functions

Link copied to clipboard
public double distance()
Link copied to clipboard