Hi I am currently working in an after effects Comp using the:
"if (toCompVec([0, 0, 1]) > 0 ) 100; else 0" inside a Precomp were is a camera taking all the values from the master (moving) camera.
So when the (moving) master Comp camera is facing in a certain direction... the desired (PreComped) layers appear.
My problem is in the reflection department were I need to flip all that camera data!
So what I (think) need is to have a second precomp using the same "toCompVec" script
taking all the values from the master camera BUT INVERSE