Added Caching functionality to store the position of the rigids. This has two main benefits, it reduces the calculations needed, as unmoved rigids don't need to be calculated. The second benefit is that the state is stored and used for recovering the system.
In the test case I benchmarked this code ran 5% faster.
Added Caching functionality to store the position of the rigids. This has two main benefits, it reduces the calculations needed, as unmoved rigids don't need to be calculated. The second benefit is that the state is stored and used for recovering the system. In the test case I benchmarked this code ran 5% faster.