I got it mostly working, I already got the roundtrip time and history buffer working but I was stuck at fast forwarding the physics and I found the way to do it. Basically I am calling PxScene::simulate() to fast forward. The problem here is that It also fast forwards other physics objects in the scene so right now I am trying to create a new Physics Scene and move my vehicle to that scene so it doesn’t mess up other objects.
I am creating the scene like this FPhysScene* NewScene = new FPhysScene(); and that part is working, I think but when I try to add a new PxActor to the scene the editor crashes without an error message.
When I debug it through Visual Studio I get this error “access violation writing location”.