Elastic mesh interaction

This is an example of a the Elastic mesh tech i’ve been playing with in my free time. It can be pulled using an object, which follows the cursor. The way the elastic mesh is built is through a bunch of points that are “fairly” anchored to their origin, but allowed to move by either getting pulled by the player, or pushed/pulled by their neighbours. You then get a distributed inertia through a few neighbours, which looks a bit “elastic”. Each point will try to return to it’s anchor if it’s not being pulled anymore, so the mesh returns to it’s original shape.