Problems with the "rotation" operator
#2
Hi cgdvs,

My quaternion slerp function used to interpolate rotation values first normalizes the rotation values. This is needed in 99% of cases but the downside is that the rotation won't go past 180 degrees. As soon as you go to 181 degrees or higher, the rotation will be interpolated from the other direction, to ensure the rotation takes the smallest path possible. This prevents a lot of unnecessary flipping in the majority of cases, but it does prevent very large single rotations like you're attempting. For that kind of rotation, I'd recommend setting some animation curves on the rotation value directly and synchronizing the rotation with the keyframes rollout, instead of using interpolation.
  Reply


Messages In This Thread
Problems with the "rotation" operator - by cgdvs - 08-18-2022, 01:29 PM
RE: Problems with the "rotation" operator - by tyFlow - 08-18-2022, 04:54 PM

Forum Jump: