How to make character walk and camera pan with them at the same time

Thank you!