@Scorpion, followed your maths and found nothing wrong with it except i think the formula in your diagram should be "camdist = (modelsize/2)/tan(arc/2)" but i see you've rectified the error in your code so thats ok. yet it still doesn't center the model correctly.