Coder Social home page Coder Social logo

Comments (3)

sessamekesh avatar sessamekesh commented on August 21, 2024

8966e4a basically did everything but figuring out Swarm. That'll be a battle for another day, eh?

from sanctify-game.

sessamekesh avatar sessamekesh commented on August 21, 2024

Brain dump here because I really don't think I'm any better equipped to think about Swarm today than I will be in three months after having completely forgotten about everything Detour related

  • Recast build system is basically a string of black magic nonsense that I basically just hacked from their example pages, default values, and educated guesses.
  • Navmesh is generated for the practice arena, but it's a bit wonky and doesn't seem to really want to handle that center tower very gracefully.
  • String pulling algorithm is used in the server navigation system, it's working well.

from sanctify-game.

sessamekesh avatar sessamekesh commented on August 21, 2024

Okay okay okay last comment.

There was one weird detail in recast_compiler.cc - I manually set all flags to 0x01. Without this, every poly was unwalkable, and would fail the dtNavMeshQuery lookup because the query would find no walkable tiles!

By setting it to something at least, dtNavMeshQuery is able to succeed.

For a different game, these tiles could have been labelled as something, and each one of them could have had its own navigation capabilities and costs! E.g., some tiles can only be walked, some must be flown, etc.

from sanctify-game.

Related Issues (14)

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.