How to set camera orientation in top view

Hi,

I am having trouble with setting the camera orientation when in a top view.

This is what I have:

But this is what I would want:

grafik

How can I set the camera orientation if any camera definition consists of only the target (Point3d) and the camera position(Point3d)? Are there any other settings that I have been missing?

In Explanation, the following camera definition contains no option to set the “rotation” of the camera in regard to the z-axis.

{
  position:{
       x:0,
       y:0,
       z:0
  }
   target: {
     x:0,
     y:0,
     z:5000
   }
}

Thank you for your help!
David

hi @DAUD, if you position your camera completely in X = 0 and Y = 0 coordinate then your camera does not have an orientation to follow because your target is in the same position. However, there is a very simple solution. Just position your camera a bit offsetted in the Y direction and then that will give an orientation to your camera.

{
  position:{
       x: 0,
       y: -0.00001,
       z: 0
  }
   target: {
     x: 0,
     y: 0,
     z: 5000
   }
}