iimachines / Maya2glTF

Maya to glTF 2.0 exporter
MIT License
326 stars 49 forks source link

Quaternion curves are not smooth #139

Closed ziriax closed 4 years ago

ziriax commented 4 years ago

A quaternion q represents the same orientation as -q.

Therefore, when sampling an orientation, it is best to pick the quaternion closest to the one of the previous frame, to avoid discontinuities.

ziriax commented 4 years ago

Fixed in v1.2.1