Why i can’t set Heading, pitch, roll and tilt values with viewer.flyTo() function such as
viewer.flyTo( {
destination : Cesium.Cartesian3.fromDegrees(longitude,latitude,altitude),
orientation : {
heading : heading,
pitch : pitch,
roll : roll,
tilt tilt
}
});
Wally
2
The method should be correct according to the documentation:
https://cesium.com/docs/cesiumjs-ref-doc/Camera.html
Don’t know if it is a typo, but should there not be a colon in between tilt tilt
? Like:
viewer.flyTo( {
destination : Cesium.Cartesian3.fromDegrees(longitude,latitude,altitude),
orientation : {
heading : heading,
pitch : pitch,
roll : roll,
tilt : tilt
}
});
Thanks @Wally
Is there a way to get camera orientation values like heading, pitch, tilt, roll as i set the camera view on cesium globe dynamically ?
Can you please share some references.