Walls have been integrated with pathfinding! This was more difficult than I expected, due in part to some weird math I had to do for a class the pathfinding depends on. A simpler method would have been to have the walls occupy the Pathfinding nodes directly (the squares on the grid), rather than be in between them. However, Having them in between gives things a better scale in my opinion. Furthermore, it allows other objects to be placed adjacent to walls without looking strange.
The next step will be integrating doors, and finally stairs to the pathfinding system. That should be all the major types of obstacles for the base pathfinding. Once at least doors are complete, I'll test pathfinding with an actual character for a better visual.
Subscribe to see more demo videos as progress continues moving forward! As more features are added, I'll periodically do larger showcases to show all the features together. Shorter, videos like this will continue to be uploaded to showcase specific features as they're completed as well.
Follow me on Facebook!
/ cykistudios
Негізгі бет Pathfinding: Wall Implementation
Пікірлер