THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/01/2009 at 21:10, xxxxxxxx wrote:
Cinema 4D Version: R9-11
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
How exactly would one convert a (direction) Vector into a Quaternion so that one could then use QSlerp() to do an interpolation (between two Vectors) and then retrieve the new Quaternion as a Vector? I know this is more a general mathematics question but I'm having difficulties with RotAxisToMatrix(!(v2%v1), VectorAngle(v2, v1)) trying to do something similar. Quaternions aren't as temporamental but they also aren't easily wedged in and out of Vector maths.