I managed to make this work. Had to rewrite the code myself but it is working, and it syncs well.
Two main problems now: when there are move replays, I get input lag somehow… It gets more noticeable if I call the Net PktLag command with 150ms or more…
Also, when I call simulate on the physx scene, right after, if I’d get the UpdatedPrimitive location, it should be different then it was before, right? Because I call it, but it only changes location on PostPhysics Tick…
Any idea how to solve this?
EDIT: The input lag part, I think I already know what it is.