Real-time simulation of flexible bodies with ray-traced contact in the unity game engine
摘要
Computer simulations of structural mechanics, like Finite Element Method (FEM) models or multibody systems, have been a standard tool for engineers for a long time; nevertheless, those kinds of simulations are typically performed offline, i.e., there is no possibility to interact with the simulation before it is completed. Especially for simulations with changing parameters or boundary conditions, however, being able to interact with the simulation in real-time or online might be advantageous. Instead of building visualization and user input components from scratch, this paper proposes using a game engine, in this case Unity, as a basis. While game engines are proven to handle user input and visualization well, they are typically not known for a physically accurate simulation. Therefore, the game engine serves only as a basis for implementing custom physics. The implementation detailed here, see also Fig.