Flag simulation question

I have a shape 3D plane with a particle mesh deformer connected to simulate a cloth. I’ve been using the spring affector node to keep it in place and simulate some tension. Now what I would like to get is all the borders of the 3D plane fixed to create a solid frame with a flexible cloth attached. Or to simplify, how to get a cloth simulation of a flag where one side of the cloth is attached to the pole.

Thanks a lot!

I would use the generate weight map node with a gradient attached to pin one side of the cloth edges. If you’ve got a dfx I’d be happy to take a look.

– Ryan