Can anybody explain what kind of magic is happening here? How does dividing anim curve data by state weight gives the exact angle we want to rotate our character.