private Force computeVector ( Force vector ) { if ( target != null ) { return computeVector ( vector , target ) ; } vector . setDestination ( vector . getDirectionHorizontal ( ) , vector . getDirectionVertical ( ) ) ; return vector ; }
Compute the vector used for launch .