-
Error when using toWorldVec when scale is 0
I’m using toWorldVec to extract the rotation/scale matrix from a 3d layer, but it seems like this expression breaks when scale is 0. Is there a way around this without changing the actual value of the layer?
Example:
thisComp.layer(2).toWorldVec([1,0,0])
// returns an error if the scale is 0 on any axis.