#(PedroSouza) Help me with NPC Navigator

18 messages · Page 1 of 1 (latest)

proud mist
#

Hello, when I define the path location of my NPC with the Navigator it does not go to the exact location, in NavigatorProperties my distanceMargin is 0 and my pathDistanceMargin is also 0. I also noticed that when I use the Navigator method #getTargetAsLocation() it returns me a different location (rounded).

marsh spokeBOT
#

(PedroSouza) Help me with NPC Navigator

marsh spokeBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

turbid crow
#

that will make it teleport to the exact location if it navigates close enough

#

I think there's a per-NPC option for that same value somewhere in the API too

proud mist
#

Sad, that didn't work.

#

It worked when I put 2.

crisp linden
#

It goes to the centre of the block by default

autumn parcelBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@proud mist