levunit
2014-12-13 15:38:58
Is there any way to figure out which direction an NPC is facing easily?
I did come up with a method that checks the tile the NPC is on before and after a certain interval, because they are constantly moving, but it doesn't seem accurate enough, due to the fact that the NPC could take 2 steps forward, then 1 back, and it'll think it's in the opposite direction lol.
Any information/help would be appreciated.
I did come up with a method that checks the tile the NPC is on before and after a certain interval, because they are constantly moving, but it doesn't seem accurate enough, due to the fact that the NPC could take 2 steps forward, then 1 back, and it'll think it's in the opposite direction lol.
Any information/help would be appreciated.