Versions Compared

Key

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

Detection Range Frustum is useful way for finding far agent.

...

The someone in my frustum with angle will return α degree for agent "A", γ degree for agent "B", and β degree for agent C". As for agent "D" and "E", because they are not in vision range frustum range of agent, so, there is no return. The final result will be an array which contents are [α, β, γ]. As shown by following picture, the result approximate is [30, -15, -35].

The someone in my frustum with angle is testing others agents in horizontal space whereas the the someone in my frustum with up-down angle is testing others agents in vertical space



frustum angle example for current agent


someone in my frustum with distance sentence will return the every distances between the current agent and the others agents in frustum range.

...



frustum distance example for current agent


someone in my frustum and his color id (color) sentence will return the each color of agent in current agent frustum range.

...