Cesiumforunity角色抖动问题


在cesium案例场景中角色相对出生点(世界原点)位置拉远后,模型等会出现抖动,我不知道怎么解决?能帮忙吗

Hi @dwbcxy886,

In the cesium case scene, after the character is moved far away from the birth point (world origin), the model will jitter. I don’t know how to solve it? can you help

If the character is moving far away from the world origin, you’ll probably have to attach a CesiumOriginShift component to the character. Every time the character moves, this component will move the CesiumGeoreference origin to the globe-relative position of the character – meaning that your character stays at the same place on the globe, but the Unity origin will follow it. This should reduce the jittering that you see.

You can also adjust the Distance property to make this behavior happen at less frequent intervals. Let us know if this solves your issue :smile:

我知道咋处理这个问题了,感谢!简单说就是人不动,地球动。:smile:

Sorry that I missed your previous posts @dwbcxy886, I meant to respond but then was out for a U.S. holiday break. But I’m glad to hear that you resolved your issue! :smile:

没关系,美国度假一定是个美好快乐的事情吧。也可以来中国武汉度假,请你吃这里的土特产,热干面,武昌鱼…