-
comparing values of 2 angles == strange results ?
Hi all,
Just found something strange I thought I’d ask if I was missing something.
I’m comparing 2 angle values, which when the same should trigger the next value.qq = (thisComp.layer("layer1").effect("Angle Control")("Angle"))
ww = (effect("Angle Control")("Angle"))if (ww == qq) 1; else 0
When == is used, it never seems to trigger the correct response even though both values are the same, switching to <= worked for me (luckily my angle will only ever be higher than the other one.
Anyone know if there’s a reason for this? Am i using == wrong here?Thanks