A multi core friendly rigid body physics and collision detection lib - Jolt Physics
Published Date: 2024-04-15
The latest update to Jolt Physics adds a number of new features and improvements, including:
Jolt Physics: A multi core friendly rigid body physics and collision detection library suitable for games and VR applications, used by Horizon Forbidden West. So why create yet another physics engine? First of all, this has been a personal learning project and secondly I wanted to address some issues that I had with existing physics engines. In games we usually need to do many more things than to simulate the physics world and we need to do this across multiple threads. We therefore place a lot of emphasis on concurrently accessing the physics simulation data outside of the main physics simulation update. Sections of the world can be loaded / unloaded in the background. A batch of physics bodies can be prepared on a background thread without locking or affecting the physics simulation and then inserted into the world all at once with a minimal impact on performance.