Edit - Never mind, I think I was just misunderstanding what max_distance was in pushOutSolidNearest.
Develop games in your browser. Powerful, performant & highly capable.