setTarget

public final Unit setTarget(Double targetPosition, Double targetVelocity)
public final Unit setTarget(Double targetPosition)

Sets the target position, velocity, and acceleration.