Hi!

This line is your problem

camera.pan =0; //cam_angle + player.pan;

The camera is always at zero degres...
The camera must have the same pan angle as the player.
in Lite-c use vec_set (camera.pan,player.pan);


Hope this helps!
Ottawa laugh

Ver 7.86.2 Pro and Lite-C