You need to make sure the cloth and rail are both polygon objects. Align your cloth to your rail respectively. Apply your cloth tag to your cloth object, then apply a belt tag to the cloth object (Found in the same menu) . Go to points mode, select the points you wish to anchor to the rail on your cloth object, select the belt tag, drag in the rail object in the "Belt on" field. Click "SET".
I'm trying to use cloth for the first time, and this simply isn't working for me. I've followed the steps listed here, as well as in another tutorial, for creating a basic flag, and it will not attach to my flagpole.
I've selected the points i want to attach, clicked Set, dragged my pole object into the Belt On field, and yet when i click play, my flag simply falls down. Both objects have been made editable. Also, toggling the Draw checkbox doesn't turn on/off the selected belt points like it should.
I'm using version 12.0