Miarmy Crowd Simulation Documentation (English)

Agent Clone

General Introduction

We introduced the Clone feature from Miarmy 5.5. Clone is an intelligence instance. It not only the instance, but also it supports logic simulations. Clone allows users build a large number of simple crowds with intuitive method. Especially in stadium, square or battefield, we can fast deploy huge number of agents for displaying, simulation and rendering.

2000 agents (1400 clones + 600 agents) simulating on a plane

Instructions

  • The clone percent parameter on place node can setup how many percentage of clone will be placed from this place node.
  • e.g. if we setup 60%, 60% agents will be cloned, and only 40% are real agents.

The clone parameter

The results of regular agent placement and cloned agent placement

The cloned agnets action

The action of the cloned agents will be the action from it's host agent, it will instanced by some other agents randomly.

We cannot control this at the moment, so clone would be better to use the agent playback same or similar actions.


The cloned agents logic

Clones can inherit some simple logic behaviors from their host agents, and we need to enable it in Miarmy Global

enable clone logic inherit

And the logic type are:

  • avoid each other
  • adapt terrain 
  • follow road
  • follow path
  • follow/avoid zone
  • follow/avoid spot


Render the clone

render clone agent is the same as regular render pipeline.

60% cloned render, 500 agents, each one with some dynamic cloths, 5 mins



Basefount Technology