Thread: Game Mechanics: Pathing in water areas
View Single Post
  #6  
Old 11-04-2020, 03:13 PM
Videri Videri is offline
Planar Protector

Videri's Avatar

Join Date: Dec 2014
Posts: 2,846
Default

Quote:
Originally Posted by Tunabros [You must be logged in to view images. Log in or Register.]
oh welp didnt know they were archers but they still teleport to me randomly or take forever to come out
In regards to your observation of warping: I believe when mobs get stuck on objects or terrain, the game calculates where they would be if they were still walking, but it doesn't move them vertically, only laterally. Then, when it reaches your X, Y position, the game adjusts its Z position to be near yours. So, it's like one of those Shades in Starcraft II, and it's burrowing/floating through the ground until it's under you, and then voila! So it ends up reaching your position in the same amount of time it would have taken if it, you know, swam up and then walked on land.