if(!mapRead)
return Float.NaN;
Vector3f end = getObstacleLocation(start, dir, boundingBoxMins, boundingBoxMaxs, maxDist);
end.sub(start);
return end.length();
}
/*-------------------------------------------------------------------*/
/*-------------------------------------------------------------------*/