}
Vector vehicleVec = event.getVehicle().getVelocity();
Location target = dest.getLocation(event.getVehicle());
if (dest instanceof PortalDestination) {
PortalDestination pd = (PortalDestination) dest;
// Translate the direction of travel.
vehicleVec = this.locationManipulation.getTranslatedVector(vehicleVec, pd.getOrientationString());
}
this.setVehicleVelocity(vehicleVec, dest, event.getVehicle());
Entity formerPassenger = event.getVehicle().getPassenger();