Tought why not give it a try:
I used these steps:
Move all wagon subpart into a submodel.
Inside the new model move the wheel parts into 2 submodels (could be one if they where the same, but they are not).
Inside the wheel submodels shift all parts so their pins are at 0,0,0
Correct their positions inside the wagon model.
Move all wagon parts so the wheel submodel containing the magnet sits at 0,0,0
Inside the main model move the wagon submodel so it sits on the straight rail.
Now you can rotate the whole wagon so the second wheel base aligns with the center of the rail curve. (I used a temparay axle to 'project' the connector hole on the bottom plate with the center of the rails).
Use the same angle to rotate the magnet wheels back on the straight rail inside the wagon model.
And finally rotate the second wheel model so it aligns with the curved rail.
Hope this helps.
I used these steps:
Move all wagon subpart into a submodel.
Inside the new model move the wheel parts into 2 submodels (could be one if they where the same, but they are not).
Inside the wheel submodels shift all parts so their pins are at 0,0,0
Correct their positions inside the wagon model.
Move all wagon parts so the wheel submodel containing the magnet sits at 0,0,0
Inside the main model move the wagon submodel so it sits on the straight rail.
Now you can rotate the whole wagon so the second wheel base aligns with the center of the rail curve. (I used a temparay axle to 'project' the connector hole on the bottom plate with the center of the rails).
Use the same angle to rotate the magnet wheels back on the straight rail inside the wagon model.
And finally rotate the second wheel model so it aligns with the curved rail.
Hope this helps.