Quaternion To Euler Angle

Math
Both Server and Client
Both Mobile and PC

Convert the given quaternion to Euler angles. The rotation order of Euler angles is YXZ. If the passed quaternion is illegal, return (0,0,0)