# Animation not working

**URL:** <https://community.cesium.com/t/animation-not-working/4347>\
**Category:** CesiumJS\
**Created:** [July 11, 2016, 3:42am UTC](https://community.cesium.com/t/animation-not-working/4347 "2016-07-11T03:42:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joy\_Miles](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@Joy\_Miles](https://community.cesium.com/u/Joy_Miles)\
**Post date:** [July 11, 2016, 3:42am UTC](https://community.cesium.com/t/animation-not-working/4347/1 "2016-07-11T03:42:17Z")

</div>

Hi guys

I am very new to Cesium and tried to run the DataSources ‘czml’ example to get started on moving point data. All the right elements show on the map but the objects do not move. They just vibrate on the spot. Is someone able to help me get started please?

Here is the associated code.

viewer = new Cesium.Viewer(‘cesiumContainer’, {

imageryProvider: new Cesium.WebMapServiceImageryProvider({

url: terrainData.terrainUrl,

subdomains: terrainData.terrainSubdomains,

layers: terrainData.terrainImagery,

enablePickFeatures: true

}),

animation: true,

scene3DOnly: true,

baseLayerPicker: false,

fullscreenButton: true,

geocoder: false,

homeButton: false,

infoBox: false,

sceneModePicker: false,

selectionIndicator: false,

timeline: true,

navigationHelpButton: false,

creditContainer: ‘creditDiv’,

contextOptions: { failIfMajorPerformanceCaveat: false },

});

// Do TerraExplorer initialization related stuff inside initTE()

initTE();

[//viewer.camera.flyTo](https://viewer.camera.flyTo)({

// destination : Cesium.Cartesian3.fromDegrees(117.87721, -22.16342, 15000.0)

//});

viewer.dataSources.add(Cesium.CzmlDataSource.load(’./data/FMEMachinePositions/simple.czml’));

viewer.camera.flyHome(0);

---

<div class="post-metadata">

**Author:** ![AnG3L](https://avatars.discourse-cdn.com/v4/letter/a/e19adc/32.png) [@AnG3L](https://community.cesium.com/u/AnG3L)\
**Post date:** [July 11, 2016, 4:25am UTC](https://community.cesium.com/t/animation-not-working/4347/2 "2016-07-11T04:25:22Z")

</div>

Sandcastle has some very good examples (i.e. [https://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=CZML%20Path.html&label=CZML](https://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=CZML%20Path.html&label=CZML)). See the ‘CZML’ section from the Gallery.

Also, are you sure that your CZML data is correct like it has multiple positions?

---

<div class="post-metadata">

**Author:** ![Joy\_Miles](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@Joy\_Miles](https://community.cesium.com/u/Joy_Miles)\
**Post date:** [July 11, 2016, 5:44am UTC](https://community.cesium.com/t/animation-not-working/4347/3 "2016-07-11T05:44:29Z")

</div>

Hi AnG3L

I copied the simple.csml from the sandcastle where it was working fine. I think my problem has something to do with Terrain Explorer TE4W. Maybe there is something in that causing me pain.

Cheers

---

<div class="post-metadata">

**Author:** ![Joy\_Miles](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@Joy\_Miles](https://community.cesium.com/u/Joy_Miles)\
**Post date:** [July 14, 2016, 8:45am UTC](https://community.cesium.com/t/animation-not-working/4347/4 "2016-07-14T08:45:38Z")

</div>

I contacted Skyline and they believe that they have a different version of Cesium in TE4W than the sandcastle has which is why animations don not work ☹
