Collision for procedural mesh generation

Thanks that helped me a lot : )