-edit

problem: third-person cam doesn't move around the entity when rotating.

-edit2 hopfel's perfect solution

Quote:
Code:camera.x=my.x-(50)*cos(my.tilt)*cos(my.pan);
camera.y=my.y-(50)*cos(my.tilt)*sin(my.pan);
camera.z=my.z-(50)*sin(my.tilt);
vec_set(camera.pan,my.pan);


Last edited by reknak; 01/27/11 17:41.