so Iam still working on my GTA2-remake and spent the last time to redo my vehicle setup, as the origial one just became extremely chaotic. All of the functions (and a few new) are now remade and everything seems to work.
Only thing… My cars appear at different locations on the server and on the client…??
Even when I have a car just placed in the world and hit “play”… See some Screenshots attached.
- The position of the car as I placed it in the map:
- When I hit play → Left: Server, Right: Client (World Locations are displayed as PrintString) Note that the client side car is not at the correct position. Plus: Physics Simulation is jittering around very strangely…
- Overview of the Blueprint. It is essentially a CarMesh with SphereCollisions as Wheels (plus constraints)
→ Replication is activated for the BP itself, plus the Root and CarMesh. I also tried activating replication of the wheels and so on, but it does not change anything…
→ I “outsourced” some of the necessary code into blueprint components, which is the main difference to my original vehicle blueprint (which worked fine)… Is it possible that this makes any difference? Activating Replication on these components does not change anything, though…
I would be very glad for any help!