[Keep in mind that from my research, I’d say there’s a fairly large chance this issue is not my mistake, but a Roblox issue.]
I am currently making a car that drives by itself, this is done by a (server)script adding angularvelocity to cylindricalconstraints that are connected to my chassis wheels. The movement works… until you look at client side, here’s a video:
As you can see in the video, the physics that are used in the serverscript only work while i’m touching the car, while on server side they’re working constantly (when the car disappears, it already got to the end of the baseplate and got destroyed by falling off)
Does anyone know why this occurs and/or how to fix it?
The vehicle system uses a vehicleseat, it can be controlled by a player if they enter it, that works fine, only the part where its owned by server/auto and controlled by server script doesn’t work
If the server automatically sets the physics owner to the player, when it goes to make changes server-side, it de-replicates the change, breaking client/server. There has to be a link between client/server that validates the changes to keep it synchronized!
I can see that the player seemingly never enters the vehicle seat? This could be an issue if you use vehicle seats without actual making the player enter one.