Modern computers with specialised software are able to simulate oceans with waves and sea currents, and the action of wind, gravity, ships and other vehicles. The high-level programming languages that are used in this type of software can read information from navigation devices connected to the computer (e.g., via serial ports), and proceed to use the raw data in control algorithms. More and more desktop software and simulators can use data from additional electronic devices such as pressure sensors, temperature sensors, etc. Thus, it is possible to conduct real-time communication with a PLC (programmable logic controller) and use it in simulators. In this article, a user interface designed in Unity3d is presented. The user interface was able to read data from navigation devices, which were used in a ship positioning control algorithm. Verification of the algorithm occurred during research on a real ship, which used an anchor-based positioning system. Using data obtained on the real ship, a mathematical model of anchor winches was developed. Next, the mathematical model was implemented in the simulator developed in Unity3d. The simulator contained the same environmental conditions as during the research on the real ship. The mathematical model of anchor winches and implementation developed in the simulator will allow for future research on anchor-based positioning systems (e.g., in different environmental conditions). The research resulted in a shift of the ship’s position by 26.3 m under 280 degrees. The difference in arrival time to the target point between the real ship and the virtual ship was 19%, and the difference in position deviation was 330%.