# How to make earth spin

**URL:** <https://community.cesium.com/t/how-to-make-earth-spin/33233>\
**Category:** CesiumJS\
**Created:** [June 21, 2024, 11:16am UTC](https://community.cesium.com/t/how-to-make-earth-spin/33233 "2024-06-21T11:16:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicola.attico](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/nicola.attico/32/14000_2.png) [@nicola.attico](https://community.cesium.com/u/nicola.attico)\
**Post date:** [June 21, 2024, 11:16am UTC](https://community.cesium.com/t/how-to-make-earth-spin/33233/1 "2024-06-21T11:16:54Z")

</div>

Hi,  
I’m trying to have my globe gently rotate in space.  
I tried with that:  
// Globe rotation  
viewer.clock.shouldAnimate = true;  
viewer.clock.multiplier = 100  
viewer.camera.setView({  
destination: Cesium.Cartesian3.fromDegrees(c.data.longitude, c.data.latitude, 20000000)  
});  
but instead of having my globe rotate, the sky is spinning instead. it seems like the camera is rotating together with the globe.  
What would be the way to achieve that effect?  
Thanks,  
Nicola
