modified getorientation and createt method anglebetweenvectors