How to make multiple attachments between 2 points with quad bezier curves?

Hello!
I am working on a train system and I’m working on something where I’m wanting to have 12 attachments and I want them to position correctly in a curve between 2 points, Point A and Point B.

When the train is straight:
image

When the train is turning:
image

How the attachments should look when the train is straight. When the train is turning, each attachment should spread out evenly between each point in a curve sort of way:

I think using the Quad Curve is the solution but I’m not sure how I get the positions out of it.

image

Hi, is anyone able to help? Its been an hour and this is something I really want to get done but I can’t come up with a solution.
Thanks.