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

Version 1 Next »

In Atoms you can save your simulation on disk using the atoms cache format, then it is possible to reuse these caches with the "cacheReader" behaviour module. The Atoms Cache is lightweight and fast. It can increase the performances of your scene dramatically compared to using live simulation.


Exporting a cache

  • Create an agent group and set it up following one of the previous tutorials.
  • Export the cache following the steps described here.



Importing a cache

You can import a cache in a scene using the cacheReader behaviour module

  • Create and agent group.
  • Add a cacheReader behaviour module.
  • in the cachePath attribute of the cache reader module pick the cache file (the file named yourCacheName.atoms)
  • You can create multiple agent group to load different or the same cache multiple times. You can also move them around and rotate them.
  • Press play.
  • No labels