#Help on Client - Server with pathfinding

1 messages · Page 1 of 1 (latest)

ember berry
#

Hey, I need some help, so I am making a pathfinding system for characters, but idk how to handle the client-server manipulation, should I just send the TargetPosition to the client and then handle the pathfinding and the movement there or not? Btw The game has to handle a lot of characters

violet harness
#

or server is fine

ember berry
#

like, I alr did the pathfinding and movement on server, however, its starts to lag a lot, since there are a lot of NPCs, its a tycoon game so you can have 40 or a lot more like 300, and I need to find the best way of doing it, i dont mind of redoing it all over again, I just need to know whats the best thing to do since I need to detect when a NPC is close to a certain machine so he can do whatever he needs to do, is it possible to fire a remote when the NPC is on place or something?

#

and Im not using MoveTo, Im using Lerp

ember berry