-
‘If’ Expression problem
Hello, I’m making a video with a 3D graph using the Shatter Effect to make 3D columns. I’m wanting to animate the extrusion to make the bar grow. What I’m trying to do, is when the extrusion is set to 0, the opacity also turns to 0, therefore making it invisible when it is just a flat plane. So I wrote an ‘IF’ expression for the opacity (see below), but for some reason, the opacity always stays on 100!
It would be great if you could tell me what I’m doing wrong!
ed = effect("Shatter")("Extrusion Depth")if (ed = 0)
transform.opacity = 0
else
transform.opacity = 100Joshua Northeast
Jnortheast Films