Info
This post was imported from a personal note. It may contain inside jokes, streams of consciousness, errors, and other nonsense.
Managing the segments between the two rotating segments is more work than I realized. At first I thought if the angle at each segment was the same then it could be explicitly calculated. But then I can’t have it match the distance between the two points (the endpoint of the detaching segment and the pivot of the attaching segment).
I tried breaking up the polygon into triangles and using the law of cosines but eventually I realized I was really just doing IK.
So go back to IK?