Hi. I am making a 2d terrain tool for my project and asset store. The tool is generating terrain data proceduraly then applying it to mesh and polygon collider. But when updating mesh and collider data, that is making lag on mobile phone(Galaxy s3). I need to generate the terrain fluently when vehicle is going through the map Could you give me some pro tips about that subject.
Thats my process
Generate perlin noise >>> apply data >>> update all mesh and collider
in this video collider and mesh has 200 verticles. It is not laggy on pc .