Using jumper while moving
Posted: Sun Jul 10, 2016 10:45 pm
Hi all, I know this can be avoided by storing a start and end position in some way or another but I can't for the life of me figure it out, so here it goes.
I am trying to use jumper to have an enemy or NPC travel towards the player. However if the player moves, which the player is almost always free to do, the path would recalculate from the position of the enemy and the player. Because the path is constantly recalculating If there is anything between the enemy and the player it stops working correctly.
tl;dr how do I use jumper if my start and end positions are always changing
Thanks a ton
The idiot who can't figure this out.
I am trying to use jumper to have an enemy or NPC travel towards the player. However if the player moves, which the player is almost always free to do, the path would recalculate from the position of the enemy and the player. Because the path is constantly recalculating If there is anything between the enemy and the player it stops working correctly.
tl;dr how do I use jumper if my start and end positions are always changing
Thanks a ton
The idiot who can't figure this out.