Well, I gave you the code to archieve this, you just need to pass the right arguments to the c_trace, also pTraceHit.rotation in my example is camera.pan for sure.