Based on the virtual simulation platform, this paper firstly builds a five-in-one comprehensive, realistic 3D virtual platform with teaching method orientation, experiment method frontier, course thinking daily, team building refinement, and assessment and evaluation comprehensiveness. Then the establishment of the UAV nonlinear mathematical model, the bit attitude calibration of the UAV model, the virtual simulation of the motion of the UAV model, and the construction of the UAV flight sky realistic model based on the UAV corner control of virtual reality technology, and also the analysis of the UAV formation keeping control research based on 3D virtual simulation. The results show that the UAV takes off from a random initial position, so the initial error is large, and then the formation holding error is less than 0.1m when flying in a straight line, and the formation error is less than 1.79 when coordinating a turn. When flying in formation for the 40s, the ground sends a formation spreading command to perform a reconnaissance mission, and this study has a catalytic effect on the development of UAV aerial photography virtual simulation.