Networked Physics with PhysX

Sorry for the late response, I decided to do everything in the main physics scene because ue4 is not very happy when you move physics bodies between scenes. To replay the physics you have to get the physics scene form the world ( GetWorld() ) and then convert it into PxScene* and when you do that you can call simulate(Time) function on PxScene*. Before you call it you also need to set all the input and call your physics function (your function where you calculate physics). If someone knows how to properly create a new physics scene please let me know, it would be better to do this stuff in a separate scene I think.

It replicates perfectly when the vehicle is driving but when it is in the air it goes out of sync, still need to find way to solve that.