Radius/funnel modifier combo issue

  • A* version: 5.2.2
  • Unity version: 2022.3.35f1

There seem to be a bug with the radius modifier, sometimes it adds the corners on the “wrong” side of the funnel corner. Unsure if its due to the output of the funnel modifier.

Like in this image, where it seems like the first corner causes the radius modifier to add corners on the wrong side. Which causes part of the path to lie outside of the recastgraph.

We’re using the following seeker setup that randomly causes this behaviour
image

Tagging @aron_granberg on this one, definitely doesn’t look intentional. How often do you see this behavior, and is it purposely reproducible? If you can share your setup screenshots that’s good too :+1: I couldn’t find any screenshots of your components in previous threads

It seem to happen somewhat often near obstacles/edges that cause a Ω-shape on the recastgraph/navmesh.

I’ll see if I can reproduce in a minimal project.

Hi

Not sure why it would happen in this case. It looks like it should be pretty well defined.

However, it is a downside in general with the radius modifier that it doesn’t always do the right thing, because it is lacking some information about the world.

The newer FollowerEntity movement script uses a different approach to stay away from walls, which is much more robust. If you can use that instead, I would recommend it.