Convert vector interpolation to quaternion interpolation? (Catmull-Rom)

Posted by edA-qa mort-ora-y on Game Development See other posts from Game Development or by edA-qa mort-ora-y
Published on 2014-06-04T08:24:39Z Indexed on 2014/06/04 9:39 UTC
Read the original article Hit count: 359

I have some existing code which does catmull-rom interpolation on two vectors (facing and up). I'm converting this to use quaternions instead (to replace the two vectors). Is there a general way to convert the vector based interpolation to a quaternion one?

The approach I'm using now is to exact the axis and angle from the quanternion. I then interpolate each of those independently and convert back to a quaternion. Is there a more direct method?

© Game Development or respective owner

Related posts about mathematics

Related posts about quaternion