
My guess is that somehow this is what is returned when it fails to find a noncollidingposition (I changed the max perimeter to be 1000 and didn't see it again after multiple tests)...I think it would be preferable if it returned nil when it fails

That does not surprise me, I thought it was an underflow being caused by an mistaken multiplication somewhere, but didn't find one (and non of the values could come anywhere close to large enough on their own) so I kind of assumed it was being set to a max size somewhere internally (obviously that of a double since it wasn't an integer) upon failure.kovarex wrote: This is an side effect, of us using the std::numeric_limits<double>::max() coordinates for emptyPosition internally ...
Thank youkovarex wrote:I will fix it, so it will return nil when the position wasn't found.