Local path planning, as an essential technology to ensure intelligent ships’ safe navigation, has attracted the attention of many scholars worldwide. In most existing studies, the impact of COLREGS has received limited consideration, and there is insufficient exploration of the method in complex waters with multiple interfering ships and static obstacles. Therefore, in this paper, a generation method for a time–space overlapping equivalent static obstacle line for ships in multi-ship encounter scenarios where both dynamic and static obstacles coexist is proposed. By dynamically inferring ships’ encounter situations and considering the requirements of COLREGS, the influence of interfering ships and static obstacles on the navigation of the target ship at different times in the near future is represented as static obstacle lines. These lines are then incorporated into the scene that the target ship encountered at the path planning moment. Subsequently, the existing path planning methods were extensively utilized to obtain the local path. Compared with many common path planning methods in random scenarios, the effectiveness and reliability of the method proposed are verified. It has been demonstrated by experimental results that the proposed method can offer a theoretical basis and technical support for the autonomous navigation of unmanned ships.