HI, Shouldn't you use vec_rotate(tempv,camera.pan) then c_trace. I think you are tracing straight down.

But I will stop guessing.