Links on Tag are not animated when in Extrude Object cache
-
I have a Tag on an Extrude object. The Tag has links (DA_ALIASLINK) on it to ShaderData. These shaderdata's have animated values.
The extrude object correctly copies over the Tag to the cache object, including copies of all the linked ShaderDatas.
However none of the copied objects get animated when scrubbing the timeline - but the original objects do. I suspect this is because the expected behavior is that normally when the tag changes, the Extrude object recreates its cache. However this is not triggered for linked objects?I have a few "creative" solutions. But im wondering if there is a clean solution for this issue.
Setup:
-
Hey @ECHekman,
Thank you for reaching out to us. I could be cheeky and say 'caches are caches'
. To be a bit less cryptic, caches are static and Cinema 4D will not evaluate them once created. This means for example that expressions (tags) inside caches will not be evaluated when the scene is being evaluated (and that cache is not being rebuild from scratch).
When you want to have a tag inside a cache and that tag update with the scene, the only option would be to evaluate that tag when you create the cache and then rebuild that cache on every scene update. That of course only works when you own/implement the cache owner and also is very much not recommended, as this is a recipe for making Cinema 4D very slow.
Caches cannot evaluate expressions, that is intended and there is no work-arround, as caches would otherwise not be caches anymore.
Cheers,
Ferdinand -
Thanks Ferdinand, that was kind of what I expected the awnser to be. I'll use a creative solution that doesnt trigger an unnessesary recreation of the Extrude cache