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.
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.