Caching agents - Unreal
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.
Video tutorial:
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 do no exist in your content, please recreate them before importing a cache. Otherwise you might link them manually later.
Video tutorial:
Copyright © 2017, Toolchefs LTD.