hprInterval

Note that quatInterval can automatically convert your hprs to quaternions:

s.quatInterval(10, hpr = Vec3(180, 0, 0)).start()

Note that this isn’t in fact a fix at all. If the hprInterval constrained all its inputs into [0, 360), it would change the 20-degree lerp from 10 to -10 into a 340-degree lerp from 10 to 350. If you insist on working with Euler angles, the real solution is to use PythonUtil.fitDestAngleToSrc() to match the destination angle to within +/- 180 degrees of the source angle. The hprInterval doesn’t do this automatically, though, because maybe you wanted it to go the long way around. (In fact you can construct a hprInterval that spins several times around before it stops, and this is sometimes useful.)

David