rotate to the direction of the target