UE4 is not deterministic… vehicle yes, but rigid bodies are. There are threads mentioning about this…
I myself have experienced this and have to do my own c++ code for this deterministic thing…
Your code is fine except for anti-cheating because server may no longer be the authority