#Hello, im doing a riding system which is basically completed but its not optimized AT ALL
1 messages · Page 1 of 1 (latest)
this is what handles the keyboard inputs
i doubt anybody will even read this so im gonna be hopping from servers to servers :3
Your doing the movement in the server?
Thats probably why it seems laggy
Recommend doing the acutall riding in the client and replicate it to other clients
your current position
Wdym replicate it in other clients
Yeah, i initially did all of it in one but then animations wouldnt work in game
You doing movement on the server means that depending on your ping, there may be a delay between you pressing the input key, and actaul movement appearing on your screen
Instead of doing movement on the server what you should do is make the movement through the client
and do sanity check on the server
Moreover, you'd want to change all of your ridable part NetworkOwnerShip
to the player who is currently riding
this will give the smoothest possible riding
wdym
okey thank you, ill try
im gonna handle the movement and the inputs in the client and just load the animations on the server