Jump to content

Differences between webwalk, walkPath and walk


Butters

Recommended Posts

  • walkPath does not handle obstacles
  • walkPath does not generate a path so presumable less cpu/ram, although neither use a huge amount
  • walkPath is more reliable as it is not required to generate a path

Rule of thumb: Use walkPath where possible, use walk for very short distances (i'd say no more than 10 tiles to be safe), use webWalk if the place that you're walking from is unknown.

  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...