The Deadly Trio Of Movement (PathFinding, Lerp, TweenService)

Long story short. While on my journey to see how I can smoothly animate NPC movement towards the nearest player like blox fruits, grand piece online, or other front-page game movement I encountered a roadblock on how I should actually go about moving the NPC.

Obviously, pathfinding is just a way for the NPC to be more smarter about how it moves. So my post is more about which is more effective Lerping or Tweening?

Lerp on server, (render and) tween on client. Lerping isn’t as smooth as a tween, nor can you control it as well as tween, but tweening is expensive when done on the server, so use them for their strengths and weaknesses.

1 Like