I have been trying to animate text opacity on an 8thwall a-frame project. I am using troika-text. I want the text to disappear after 'delay: 2500', but it does not.
<a-entity
position="0 0 -5"
troika-text-custom="color: white"
troika-text-material="shader: standard;
metalness: 0.7"
animation="property: opacity; from:1; to:0; loop:false; delay: 2500; dur: 3000">
</a-entity>
Looks like troika-text has its own configurable binding for opacity called:
fill-opacity
, notopacity
.You can use it to modify the opacity of the text mesh: