Miarmy Crowd Simulation Documentation (English)

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Sine is a very simple math tool can return value between 0 and 1 and also it's a periodic value.

  • sin(x * frequency), the x is hidden and it's the second unit

Channel with "all" suffix: control all, means all agents have same phase, all the agents will get the same value, also have same period

  • sin_all()
  • sin_all(<frequency>) for example sin_all(2)

Channel with "agents" suffix: randomize phase on each agents, different agent will get the different value due to the randomized phase. But all of them have the same period

  • sin_agent()
  • sin_agent(<frequency>) for example sin_agent(1.5)

Note, the higher frequency the faster change the value

  • No labels