Versions Compared

Key

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

The sound has two channels can be output, they are sound.f and sound.a. Detection Sphere (read more about sphere) not only has the input sentences, there're also two sentences output, we can use them to change the sphere attributes:

Sphere

  • set my sphere color ??
  • set my sphere radius ??

By default the frequency and range of sound color and radius of sphere are the values from McdAgentGroup node. However, you can use the sound sphere output channels sentences to modify them explicitly. 


(Left) the McdAgentGroup node; (right) The default sound Frequency and range on node


Note: if the sound range sphere radius is 0, means the sound range sphere will take use the value calculated from bounding box of original agent as the radius, see Part 4 Agent Infrastructure – Original Agent

  • The

...

  • sentence set my sphere color ?? in output can modify the

...

  • sphere color of

...

  • current agent
  • The sentence set my sphere radius ?? in output can modify the sphere radius of current agent