Box2d polygon centers differ from cinema4d polygon centers


hi all,

I generate my box2d scene from a svg I drew in illustrator, and used the same file in c4d to extrude the paths.
Then I take the live polygon info from b2d to transform my geometry, but it won’t lign up perfectly to the b2d lines. some parts seem to be a tad off.

now I checked and it seems that b2d shows the “real” center, while cinema uses the center of the “bounding box”. that also explains why the error is worst on diagonal objects.
b a

any ideas on how to solve this (not manually) appreciated :)


You can set axis to centre of all points if your use the edit centre menu option, but you’d have to do it for all individual axis, I think


Thank you, Sir!