splineTo

public final PositionPathBuilder splineTo(Vector2d endPosition, Angle endTangent, Double startTangentMag, Double endTangentMag)
public final PositionPathBuilder splineTo(Vector2d endPosition, Angle endTangent, Double startTangentMag)
public final PositionPathBuilder splineTo(Vector2d endPosition, Angle endTangent)

Adds a spline segment.

Parameters

endPosition

end position

endTangent

end tangent

startTangentMag

the magnitude of the start tangent (negative = default magnitude)

endTangentMag

the magnitude of the end tangent (negative = default magnitude)