I am trying to achieve how to detect the values of camera angle when I am moving the and tilting the viewer camera. Appreciate who can give me a little hint or guide regarding to this topic! Thanks!
Hi @humanAlphabet,
viewer.camera.heading
for heading,
viewer.camera.pitch
for pitch and
viewer.camera.roll
for roll
All angles are given in radians, but you can convert them to degrees by multiplicating them with Cesium.Math.DEGREES_PER_RADIAN
(opposite direction is Cesium.Math.RADIANS_PER_DEGREE
)
Best, Lennart
Thanks! @lennart.imberg