physics engine
A physics engine is computer software that provides an approximate simulation of certain physical systems, such as rigid body dynamics (including collision detection), soft body dynamics, and fluid dynamics, of use in the [of computer graphics], [[video games and film. Their main uses are in video games (typically as middleware), in which case the simulations are in real-time.