Orient to Motion blender command
Install as a regular add-on. Run with View3D ⇾ Object ⇾ Animation ⇾ Orient to Motion
May use with Quaternions and Euler angles
Open F9 (adjust last operation) to:
- Change front axis
- Set an every frame mode for accuracy