Rotofix

Rotofix

RotoFix is a Layout generic LScript, added to 2019.0.2, that adjusts the rotation keyframes of a selected item, in order to correct for rotation value wrap-around (e.g. heading jumping from 179 degrees to -179 degrees, instead of going from 179 degrees to 181 degrees). This is important for correct interpolation (e.g. 179 degrees to -179 degrees is a change of 358 degrees, while 179 degrees to 181 degrees is a change of only 2 degrees, even though the initial and final orientation of the item is the same in both cases).

It does this by minimizing the change in rotation values between keyframes while keeping the resulting orientation of the item unaffected.