# flyTo & trackedEntity - rotation

**URL:** <https://community.cesium.com/t/flyto-trackedentity-rotation/8841>\
**Category:** CesiumJS\
**Created:** [November 14, 2019, 6:20pm UTC](https://community.cesium.com/t/flyto-trackedentity-rotation/8841 "2019-11-14T18:20:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mandy\_ray](https://avatars.discourse-cdn.com/v4/letter/m/85e7bf/32.png) [@mandy\_ray](https://community.cesium.com/u/mandy_ray)\
**Post date:** [November 14, 2019, 6:20pm UTC](https://community.cesium.com/t/flyto-trackedentity-rotation/8841/1 "2019-11-14T18:20:17Z")

</div>

When the user hits a button, I have set the camera to fly to a particular entity (with only destination specified) and then track it. At first, I only tracked the entity (without using flyTo) and everything worked fine. After adding flyTo, the default controls for rotation (click and drag) stopped working properly (for the tracked entity). The angles are all wrong, the horizon is bent etc… Can you help me?

---

<div class="post-metadata">

**Author:** ![omar](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/omar/32/1999_2.png) [@omar](https://community.cesium.com/u/omar)\
**Post date:** [November 16, 2019, 7:57pm UTC](https://community.cesium.com/t/flyto-trackedentity-rotation/8841/2 "2019-11-16T19:57:21Z")

</div>

Are you able to reproduce this issue in Sandcastle ([https://sandcastle.cesium.com/index.html?](https://sandcastle.cesium.com/index.html?)) ? If so, can you post a link to your code there? You can click “Share” and paste the link you get here.
