添加s3m模型为什么设置的贴地不起作用?还是会跟着视角进行移动。。。
const url = "/model/springTree.s3m";
const postitionSM = new Cesium.Cartesian3.fromDegrees(Number(object.lon), Number(object.lat), Number(object.height));
const s3mInstanceColc = new Cesium.S3MInstanceCollection(viewer.scene.context);
viewer.scene.primitives.add(s3mInstanceColc);
s3mInstanceColc.add(url, {
position: postitionSM,
clampToObject:true
})