I am able to inflate part of the mesh affected by a mask on the first frame only The problem is that when I animate the mask, the inflation does not follow it. I need the whole mesh to be inflated when the sphere moves over it.
Does anyone know what might be the problem? I am attaching the .hipnc file.
The solver will only take in whatever geo and constraints you pass in on the first frame of the simulation. So you're only creating the cloth constraints for the section of geo you have grouped on the first frame. And to be honest I'm not sure the purpose of the pin to target constraints in your setup.
The way I would approach stuff like this is to just configure your entire mesh as cloth (or whatever) and simply use an animated attrib mask or group to "activate" it gradually.
I'd check out some of the Vellum masterclass videos from SideFX and familiarize yourself with some DOPs concepts.
Anyways I played with your file for a bit and attached it here. Probably there are better ways to do this but I hope it helps you nonetheless.