geting x and y angle offsets