I’ve been working on using the project to generate a grid graph for moving a long vehicle in small tunnels with 90 degree angles, and the built in seeker is hugging the sides of the available space which is causing problems when it tries to turn.
I can’t just increase the width of the grid scanning raycast capsule because it will sometimes need to go straight through tunnels that are only slightly wider than itself.
the most likely idea I have is giving each node a penalty based upon how close it is to any obstacles, but I can’t find any good tutorials on adding penalty to graphs.
any advice/ideas/tutorial links would be appreciated
some other ideas I had were:
- make 2 separate graphs where 1 has larger raycast capsules and is a “turning graph” that will be followed if possible but the car can switch to the other graph if necessary
- keep the grid calculation part but make a new pathfinding algorithm
I didn’t personally make the models I’m using so I don’t know if I can post a screenshot here, so I drew up a quick representation in mspaint