Hi farshizzo,
The modification of the original mirror script works fine. The only error in it is the line
Code:
lens.setMatrix(viz.Matrix.translate(-pos)*invRot*viz.Matrix.scale(1,1,-1)*rot*viz.Matrix.translate(pos))
This should be:
Code:
lens.setMatrix(viz.Matrix.translate(pos*-1)*invRot*viz.Matrix.scale(1,1,-1)*rot*viz.Matrix.translate(pos))
Thanks for helping me again!