Download

How to resolve the lag when using async physics simulation of Unreal Engine 5

As I observed in advanced vehicle demo within Unreal Engine 5, while the game thread(GT) advance dt = 0. 1 s, the physics thread(PT) advances 5 steps (each dt= 0.02s). However, the rigidbodies sync their transform to game thread while only 1 step is completed in physics thread, which makes a lag of 0.08s between GT and PT. How to minimize such lag in UE5? For game that depends on physics result heavily (vehicle games for example), is there a best practice for using async physics?