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

  • Drag and drop the cache file with no padding mycache.atoms inside the content browser.
  • Create and agent group.
  • Add a cacheReader behaviour module.
  • in the cachePath attribute of the cache reader module pick the cache asset you just created.
  • 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.

Caches exported from Unreal won't contain any geometry information. If the agent types used by the cache are not living in your content, please recreate them before importing a cache. Otherwise you might link them manually later.

  • No labels