Playing with animating a Schatz Evertable Cube and the Oloid that can be generated by its motion. I am novice, but having a lot of fun! I have been having troubles with this axis flipping. I understand why it does it but cant figure a solution that works, and I have tried many hacks. Wrather than explain it, I put the code for my problem on the Ganja.js coffee shop site as example code
I have tried some other motor calculation methods but could never get alignment to be stable… suggestions on better ways to do anything else would also be appreciated! My process may look strange, but I am trying to construct the motion with only planes and a point. THANKS!!
UPDATE: I figured a way around the problem by transforming the original array contents local ref frame to the global position so the shortest transform is always the right one. I was originally leaving the original array where it started.