Physics simulation can now run either asynchronously in a separate thread or from the render loop