Hi, thanks for answering. I have managed to get the code to work using some spatial nodes placed roughly where the grid points will be, and using something like;
var pointtodisable = astar.getclosestpoint(spatialVector3())
astar.setpointdisabled(pointtodisable, true)
After much trying, I still wasn't able to get the grimap cell reference. Perhaps I have missed something, I haven't worked much with gridmaps yet. How would you go about getting the gridmap index? I looked at how Miziziziz does it in his code, but am still at something of a loss.
As your answer helped me figure out how to disable them using spatials, I will mark it as answered.
Thanks.
D.