We consider the 3D problem of controlling the trajectory of an unmanned aerial vehicle (UAV). The purpose of the control is to increase the accuracy of estimating the spatial coordinates of the UAV from discrete angular measurements of the position of a fixed beacon in the process of guidance of the UAV to a given terminal set. The measurements are contaminated by a discrete white noise with known characteristics. The total guidance time is specified.