in my game I put the camera at the main character , so if it rotate or move the camera will do that too .
my problem :
if the player stand beside the wall then rotate, the camera will go throw the wall , what should I do to let the camera move to the player ( above or behind it ).