I was wondering if it is possible to return if a specific collision happened on a path, ideally returning the actual collision.
Basically, I have doors in my turn based game. Doors require an action to open. They do not act as blocking terrain for pathing, but my character needs to interact with the door to open it. Ideally, I’d like the path finding to ignore the door, but let me know that there was a door collision and that I need to create this action.
You could use tags for this: https://arongranberg.com/astar/docs/tags.php
Mark the door using a tag and then you can go through the tags of each node in the path and check if it is the door tag. It might be easier to just use a raycast to check for a door collider as the character moves though.
@aron_granberg is it possible to have a tag overwrite an area? At the moment, everything that is on the Geometry layer is unwalkable. The main object here is my walls. I also have a tool that allows me to cut out some of these meshes, i.e for doors.