How to change the cost for individuals nodes?

Hello :slight_smile:

I’ve been trying to find a way to assign a “weight” or “cost” to my obstacles, so that the nodes at obstacles positions would be more expensive than the free nodes. What I am trying to do is to have walkable obstacles if the algorithm found that it is more worth to cross over obstacles than following a labyrinth.

Is there a way to do this ?

Thank you for you help.

Hi

These documentation pages should help you get started:
See http://arongranberg.com/astar/docs_dev/graph-updates.php
and http://arongranberg.com/astar/docs_dev/tags.php