Versions Compared

Key

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

Bound is a kind of perception contents, which can be cubic and spherical shapes in this version of Miarmy and you can key frame it for triggering some event easily, such as triggering a group of agent start to run. (Bound can be any shapes in next version)

You can create bound in Miarmy > Perception Contents > Create Bound, and or by shelf button Image Added. And each bound has 2 bound related attributes

Bound channels sentences let agents are able to feel bound and test whether in or out side of bound. It's the simplest channel sentence but very useful.



(left) Bound attributes (right) Spherical and cubic bound


The bound.in channel I'm in bound sentence will return 1 true when the agent inside of it while 0 false when the agent outside of it.

Suppose there are 3 bounds in scene and 5 agents located in different places, so the inputs result will be:

  • return 1 true for agent A, C, E
  • return 0 false for agent B, D

 


Bound channel sentences example