Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Sound channel and vision channel Sphere range sentences and frustum range sentences has agent exclusion feature among sentence sentences calculate, this feature can make sure the channel get more precise and natural results.

Additionally, this feature is automatically enabled, and user cannot disable it.

Usually we need use not only one type of channel sentence for interactive the others agents.

For example, sometimes we need test is there someone in my left and near. (So that we can turn right and slow down)

As far as we know, we can use sound.x channel to someone in my sphere with angle sentence to test is there someone in my left, and use sound.d channel to someone in my sphere with distance sentence to test is there someone nearby, then naturally use "AND" operator to get the intersection agents.

Just like this:


Image RemovedImage Added
Someone in my left and near

...



From left to right, the exclusion filters respectively are "sound sphere range", "sound.xangle" and "sound.ddistance"


Suppose that we didn't have Agent Exclusion Feature and take a look at the following example, the node will get the wrong result (wrong node active)!! Please notice the following second picture, green dot mean there is an agent make sound.x channel someone in my sphere with angle sentence test active 1.0 and notice the third picture, green dots mean there are 2 agents make sound.d channel someone in my sphere with distance sentence active 1.0. Finally, sentence A and B will both active 1.0, the A "&&" B logic expression makes this node active 1.0. The system would mistake there is someone in my left and near. But unfortunately, in fact, there is no agent in the GREEN Zone in third picture! That is means that, actually there is no agent in my left and near. So, without agent exclusion feature, the channel will would not very accurate.



Situation without agent exclusion feature


The vision channel frustum sentences also has have agent exclusion feature enable. Therefore, between each sound sphere and vision channelfrustum, we only need "&&" ("and" operator).

And also we need avoid sound sphere and vision channels frustum sentences are filled in the same decision node, because the sound sphere and vision channels frustum sentences have independent exclusive agent engine.
All of them happened automatically and the user will not notice it.