float fOrient = GetFacing( GetFirstPC() -90.0 ); float fX = cos( fOrient/2 ); float fY = sin( fOrient/2);