title: Calculating angles between two points in 3d space
body: <p>I have two points (cube game object) in <strong>Unity</strong>, P1(x,y,z) and P2(x,y,z) and I have to set the <strong>MainCamera</strong> position and rotation along the vector between P2P1.</p>
  
  <p>I tried different methods but was not successful.
  All suggestions are welcomed.
  Thanks.</p>