A* Pathfinding Project

RVO Controller "Collides With" only working with "Everything"?


#1

Hello,

I’m on 4.3.11 Beta, trying to use the RVO Controller with automatic stop when destination is crowded.

When setting:

Layer: Default Agent
Collides With: Default Agent

Agents don’t seem to avoid collision at all. It is only when I set:

Layer: Default Agent
Collides With: Everything

That everything starts behaving as expected.

I understand that “Layer” in the RVO Controller has nothing to do with Unity’s Layers for objects, am I wrong in my assumption?

I’d like to know if this could be a bug or if I’m missing something.

Thanks in advance!


#2

Hi

Yes. This is a bug in the current beta version. See this thread for a workaround: RVO Avoidance Layer Problems - Beta 4.3.10


#3

Hi Aron,

Thanks for the quick reply!

I had a look at the forum before writing the post but somehow I didn’t see the thread, I’m sorry about the duplicate!

Awesome project by the way :wink: