Giter VIP home page Giter VIP logo

Comments (6)

Dan-Matt avatar Dan-Matt commented on July 28, 2024

Just to reiterate - I don't mind if you include this feature or not I just wanted to make you aware of it! Thanks

from astar.

roy-t avatar roy-t commented on July 28, 2024

Ah I actually had a 'cutCorners' option in a really old A* version (https://roy-t.nl/2009/02/24/implementing-a-path-finding-in-c-and-xna-source-code-can-we-cut-the-corner.html). I didn't implement that option in the new version yet. I think the way you've done it, only checking late is pretty smart. I'm not sure if I want to integrate it yet. But I'll keep this ticket open.

Thanks a lot!

from astar.

Dan-Matt avatar Dan-Matt commented on July 28, 2024

Right okay fair enough! Thanks for the feedback - no problem!

from astar.

roy-t avatar roy-t commented on July 28, 2024

I've thought of another option that might solve this. See #18, no ETA though :)

from astar.

Dan-Matt avatar Dan-Matt commented on July 28, 2024

Sweet sounds good I'll be following this!

from astar.

rallianto avatar rallianto commented on July 28, 2024

This isn't really an issue, it's more of a feature. I was having a problem in that the path will cut corners instead of finding the way around. This is probably standard A* behaviour but I needed it to work a bit differently for a game I'm working on. I forked the code and made the change.
Dan-Matt@c1633de

I just thought I'd let you know in case you wanted to use it or adapt it. The difference can be seen here-
astardiagram

How did you achieve that I am interested to know?

from astar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.