How to set entity position with WGS84 coordinates?


I need to move an entity following WGS84coordinates but I think it have to be converted to cartesian because when I try

var position = Cesium.Cartesian3.fromDegrees(lat, long, altitude);

the entity is to wrong place...

Any one can help me for that?

Thank you very much

You’re passing in the parameters in the wrong order. Cesium takes longitude first, see:

Thank a lot, I'm too stupid, I didn't seen this crazy mistake!!