GraphUpdateScene on RecastGraph

  • A* version: 5.4.4

  • Unity version: 2022.3.48

    Hi, I’m trying to apply tags or penalties to certain parts of my graph using GraphUpdateScene. I also tried adjusting the bounds, setting them very high/low, and using penalties, but none of it seems to have any effect. I’ve attached screenshots of my settings, and I do have NavmeshCut enabled.

    I also tried doing this with RecastNavmeshModifier, but I need to apply these changes at runtime, and I’m not exactly sure about the exact area size I need. I just want it to affect a certain region. However, when using NavmeshModifier, I’m getting the following results:

    I’d really appreciate any help with this, maybe there’s another solution I could try? Thanks in advance!

Looks like the issue may be that you’re defining your points as just a line from point A to B. But there’s nothing “inside” them for the GraphUpdateScene to change. The bounding box isn’t the “square that will be affected”. So you’ll need to add at least another point to your points, maybe 2 more if you want it square shaped.

1 Like

Thanks, I assumed that convex makes it square.

1 Like