Tag Archives: Quaternions

Utility Class: Quaternal Smoother

Download QuaternalSmoother.cs
To get a smooth rotational interpolation based on vectors, the “easiest” way is to use quaternions. When using XNA’s purely 2D rendering pipeline, you can’t really use quaternions to directly rotate something easily. Therefore, this class reports the euler angle, and normalized vector to work with. Super thanks to Maw!Soft for [...]