Popis: |
The paper considers the problem of creating training simulator systems for educational institution and enterprises with the content of interaction elements between the user and virtual objects, namely the process of placing objects for interaction in the virtual world. The analysis of existing solutions that are aimed at solving the problem of placing interactive objects in their places using the Snap Zone method is carried out. This method allows to place objects in the specified revenge with the specified rotation parameters. During the description of the available solutions, their weaknesses were identified, one of which is an increase in the number of created instances of objects.All this made it possible to understand the need to develop the new method of forming the positioning of instances of objects with given coordinates and rotation values. Also, during development, it was decided to create a single solution that could be easily scaled for various types of objects and projects without the need to introduce additional components into the system.The algorithm which reduces the number of placed objects on the stage by forming an additional prefab of the interaction object has been proposed. It allows not to be attached to the types of instances and to form various types of interactions with their further configuration.The proposed algorithm can be used in the development of educational programs and courses in which the user interacts with a large number of objects on the stage. It can also be noted that the implementation of this algorithm for placing objects is possible on all popular game engines. Because of this, the proposed algorithm is not tied to the development language, which makes it more flexible for implementation. |