I tried to locate the model to Earth using the method of locating it here, but it didn’t work as the model’s position hasn’t changed
Can anyone help me? Thank you very much. The possible cause of this problem is that this model is exported by CItyEngine as a “coordinate system: 3857 wgs84 Mercator” model
const tileset = viewer.scene.primitives.add(
await Cesium.Cesium3DTileset.fromIonAssetId(3227486),
);
Hi,
It looks like the data in this model is not centered around the local origin which is causing this behavior. When uploading data as a 3D model, Cesium ion expects the data to be located around the local origin.
When you click a location on the earth, Cesium ion is setting the models origin to that location. In your case the origin is very far away from the data in the model which is why it appears in space.
Are you able to export your model in local coordinates without applying a transform?