# Camera go underground after camera.flyto() complete

**URL:** <https://community.cesium.com/t/camera-go-underground-after-camera-flyto-complete/5985>\
**Category:** CesiumJS\
**Created:** [August 25, 2017, 5:38am UTC](https://community.cesium.com/t/camera-go-underground-after-camera-flyto-complete/5985 "2017-08-25T05:38:28Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_Wang](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/chris_wang/32/4450_2.png) [@Chris\_Wang](https://community.cesium.com/u/Chris_Wang)\
**Post date:** [August 25, 2017, 5:38am UTC](https://community.cesium.com/t/camera-go-underground-after-camera-flyto-complete/5985/1 "2017-08-25T05:38:28Z")

</div>

**Hi everyone**

**I use camera.flyTo(), and then tilt the camera, the view goes underground. (even in the sandcastle Camera example, I met the same problem)**

**If I don’t use flyTo(), (e.g., zoom in manually or use setView), I never go underground.**

**This may be a bug. And I wonder how to fix it.**

**My Cesium is 1.36. The figure below is the camera underground with 3d-tiles model.**

[![](https://lh3.googleusercontent.com/-HVWv8WQRyvE/WZ-2-ekL12I/AAAAAAAAAFU/LM8EKeCx9yUGEPRGb89WsBbFnM5jkLt0wCLcBGAs/s320/flytoBug.jpg)](https://lh3.googleusercontent.com/-HVWv8WQRyvE/WZ-2-ekL12I/AAAAAAAAAFU/LM8EKeCx9yUGEPRGb89WsBbFnM5jkLt0wCLcBGAs/s1600/flytoBug.jpg)

**Any help appreciated.**

**Thanks**

**Chris**

---

<div class="post-metadata">

**Author:** ![Gabby\_Getz](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/gabby_getz/32/7838_2.png) [@Gabby\_Getz](https://community.cesium.com/u/Gabby_Getz)\
**Post date:** [August 25, 2017, 7:09pm UTC](https://community.cesium.com/t/camera-go-underground-after-camera-flyto-complete/5985/2 "2017-08-25T19:09:50Z")

</div>

Hi Chris,

Thanks for the report! We’re aware this is an issue, and are tracking in a GitHub issue here: [https://github.com/AnalyticalGraphicsInc/cesium/issues/4327](https://github.com/AnalyticalGraphicsInc/cesium/issues/4327)

Thanks,

Gabby

---

<div class="post-metadata">

**Author:** ![Chris\_Wang](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/chris_wang/32/4450_2.png) [@Chris\_Wang](https://community.cesium.com/u/Chris_Wang)\
**Post date:** [August 26, 2017, 5:01am UTC](https://community.cesium.com/t/camera-go-underground-after-camera-flyto-complete/5985/3 "2017-08-26T05:01:48Z")

</div>

Thanks Gabby

In the issue you provided, the camera flyTo underground directly when flyTo() runs.

But in my case, every time after flyTo() runs, I can tilt the camera into underground.

I hope I describe the problem clearly.

Chris

在 2017年8月26日星期六 UTC+8上午3:10:13，Gabby Getz写道：

---

<div class="post-metadata">

**Author:** ![Gabby\_Getz](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/gabby_getz/32/7838_2.png) [@Gabby\_Getz](https://community.cesium.com/u/Gabby_Getz)\
**Post date:** [August 28, 2017, 8:41pm UTC](https://community.cesium.com/t/camera-go-underground-after-camera-flyto-complete/5985/4 "2017-08-28T20:41:10Z")

</div>

Got it, thanks for the clarification Chris.

Can you provide a code sample, preferably a sandcastle example? This will help track down the root of the problem, and I can open a GitHub issue if this is a whole new bug.

Thanks!

Gabby

---

<div class="post-metadata">

**Author:** ![Chris\_Wang](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/chris_wang/32/4450_2.png) [@Chris\_Wang](https://community.cesium.com/u/Chris_Wang)\
**Post date:** [August 29, 2017, 2:41am UTC](https://community.cesium.com/t/camera-go-underground-after-camera-flyto-complete/5985/5 "2017-08-29T02:41:54Z")

</div>

Hi Gabby

You can just use the[Camera demo](https://cesiumjs.org/Cesium/Apps/Sandcastle/?src=Camera.html&label=Showcases) in Sandcastile.

I run the demo, click any Fly to option, and then tilt the camera.

Thanks

Chris

在 2017年8月29日星期二 UTC+8上午4:41:33，Gabby Getz写道：

---

<div class="post-metadata">

**Author:** ![Gabby\_Getz](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/gabby_getz/32/7838_2.png) [@Gabby\_Getz](https://community.cesium.com/u/Gabby_Getz)\
**Post date:** [August 29, 2017, 7:59pm UTC](https://community.cesium.com/t/camera-go-underground-after-camera-flyto-complete/5985/6 "2017-08-29T19:59:50Z")

</div>

Hi Chris,

I don’t think I duplicate this. I’ve try every flyto option and then I rotate the view. I can’t get the camera to go underground.

Thanks,

Gabby

---

<div class="post-metadata">

**Author:** ![Chris\_Wang](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/chris_wang/32/4450_2.png) [@Chris\_Wang](https://community.cesium.com/u/Chris_Wang)\
**Post date:** [August 31, 2017, 11:36pm UTC](https://community.cesium.com/t/camera-go-underground-after-camera-flyto-complete/5985/7 "2017-08-31T23:36:23Z")

</div>

Thanks Gabby

I think it may be the slow internet speed for loading the terrain that cause the camera go underground.

I will try to figure it out later

Chris

---

<div class="post-metadata">

**Author:** ![Gabby\_Getz](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/gabby_getz/32/7838_2.png) [@Gabby\_Getz](https://community.cesium.com/u/Gabby_Getz)\
**Post date:** [September 1, 2017, 7:52pm UTC](https://community.cesium.com/t/camera-go-underground-after-camera-flyto-complete/5985/8 "2017-09-01T19:52:17Z")

</div>

OK, let us know if you can provide any more details so we can reproduce this!
