Is it real to change part psychisc that visible for server players?

Hi there!

Im going to make pet following system, and im using server script to follow player, but it’s not optimized and i get lags on the server and client.

So, is it real to change object psychics using LocalScript and it’s visible on the server, but full load will be completed on player PC and his Internet Connection?

Client - Client sees everything meaning that callbacks from the server are not needed which makes things smoother
Server - Does many things while receiving requests to do things such as gravity

In summary it is better to do this on client side but sadly if you do so the pet will be seen for the client only

1 Like

If you want to use physics to move the pet and keep it on the server, you can do that but you will need to give network ownership of the pet to the client and have the pet manage its physics for a better experience. Alternatively, each client can render the pet on its own end instead.

If you ask me, the latter is a better option because then the server is minimally involved other than for sending replication data between peers.

1 Like