Quat.Slerp
static Quat Slerp(Quat a, Quat b, float slerp)
Spherical Linear intERPolation. Interpolates between two quaternions! Both Quats should be normalized/unit quaternions, or you may get unexpected results.
Quat a | Start quaternion, should be normalized/unit length. |
Quat b | End quaternion, should be normalized/unit length. |
float slerp | The interpolation amount! This’ll be a if 0, and b if 1. Unclamped. |
RETURNS: Quat | A blend between the two quaternions! |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!