We have to create a jigsaw puzzle game.We need to cut the image into pieces of random shapes. We have tried using OTClipSprite. But it cuts the image only in square shapes. Is there any way to cut images into random shapes in unity?
Your best bet would be to go into a modelling program. Create a flat quad and unwrap that so that the UV coordinates go from (0,0) to (1,1). Then you can cut the plane into the shapes you desire and separate them into objects. If you want to represent it in 2D keep it flat and render it using an orthogonal camera, otherwise extrude it. If you want to use procedural generation to create the mesh that’s going to complicate things, especially since you want irregular shapes. I would recommend this website for learning the basics of procedural generation.