Making a tower defense with a walking function. I don’t know why but the client side has a delay on the walking. And when the unit stops to attack the unit instantly gets teleported forward to match the servers speed.
I’m pretty sure theres a property we can disable to fix this but I don’t know which.
(Really sorry there isnt a video my computer is having problems uploading one)
The server should handle all units and enemies especially on a tower defense game. If this is being handled on the client, this can easily be exploited by exploiters. I suggest you only make the placement system on the client and everything else on the server.
Is client being sometimes delayed compared to server actually due to physics? And can i get more specific details like do i place the part in server mode or client mode?
I’ve never touched network owner so this is a new side of game developing for me. And no the part is completely fine and falls down the way it should. Could u tell me more about the network owner stuff?
Nevermind, do not do what I said on the previous reply as it can be exploited. If the part is falling down perfectly it is not affected by physics. What is the core issue here, you stated the units get teleported, is the game “freezing” and continuing later?
Yes they’re lagging, stopping for a split second and teleporting on the client but move perfectly smoothly on the server (20 ping). For some reason I’m not able to upload videos, if I was able to i can show you clearly. If you’re willing to help would you mind if I have your discord so I can send the video there? I’d really appreciate it.
Hmm this could be a problem with your internet but I doubt it since you said it was 20 ping. Could you clarify if the server is on 20 ping or you? You could also try testing this outside of studio. If you want to reach out on discord my username is the same as here.
I believe this can be checked by plugins since GetValue can only be called by them or api calls to the games api. However you said it is runnig perfectly on the server, so could you please send the video from discord.