I’ve been experimenting with epicyclic gears, in particular the asymmetric ‘looney gears’ that has 4 different size cogs with teeth that are prime numbers. I wanted to measure the global rotation of various components, but got odd values.
I made a simple test scene with one object in a parent null - all at world center. When I rotated the parent in B and measured the global rotation of the child, I expected the child GR to be same as parent rotation, but I got some strange results -
XPresso global rot only gave a (repeating) value from -pi to +pi
using Python -
obj[c4d.ID_BASEOBJECT_GLOBAL_ROTATION,c4d.VECTOR_Z] gave same as XP above
Z vector from c4d.utils.MatrixToHPB(m) gave 0 to 2*pi (even with -ve rotation)
I’m guessing it’s me who doesn’t understand global rotation. Any ideas ?