So I want to make string of lamps. The string has cloth physics, and I want lamps follow it. I created empties that have constraint to follow string's assigned vertex groups. And it works ok I guess.
But what if I want to physics to the lamp themselves that they could rotate in the wind while still attached to the string. What physic to use and how to pin them to empties/vertex groups?
Thank you for answers. I'm sure they can be very helpful for others trying to figure out this same problem. I actually managed to create one solution for this on my own as well after hours of trying.
I extruded string's vertexes towards the lamp (imagine like another string, which is holding the lamp). So there is two vertexes in lamp's position. For each of these vertex I created on empty. Which I vertex parented to the string's vertex. (This mesh has cloth physics in it)
Then I created armature for lamps(each has separate one, with one bone). And parented this to lamp with automatic weight. Armature has two constraints. Copy Location (target: upper vertex) and Damped Track (target: down vertex).
Now the lamps should be following the string. And you can add wind to make them move.
After this you need separate object for string itself. As the one in the beginning works as a guide and you can't add any form in them. For this I created curve with extrude. Curve has points where the lamps are (same position as the guide string). Then I created hooks for each point of curve. Which I vertex parented again to the guide string.