Hello everyone
I’m experimenting with cesium right now and I’ve run into a problem.
I imported a 3rdPersonCharacter from the 3rd person template provided by Unreal, attached the CesiumOriginShift and CeisumGlobeAnchor, and tried to explore the world of Cesium.
However, when using the Change Cesium Georeference mode of CesiumOriginShift to rebase the character to the origin, I discovered that the character was jumping back and forth between two points. After looking a little more closely, I realized that the character should be at (0, 0, 0) after the rebase, but he was teleported to a completely different location.
So I tried to look into the code of the part that teleports the character after the rebase, but it was not easy for me.
I also found a thread with a similar problem to this one, but it was not solved.
Where can I look further here?
I need your help.
How to reproduce
-
complete the quick start and add datasets from getting start in Cesium for unreal.
-
import the 3rd person template from Unreal and attach the CesiumOriginShift and CesiumGlobeAnchor components to the 3rd person character. Set the Mode of the CesiumOriginShift to Change Cesium Georeference and the Distance to a reasonable amount (100?).
-
use 3rd person game mode instead of cesium’s dynamic pawn to explore the world as a 3rd person character.
This is an additional question.
It may not be an issue with Cesium.
In the above reproduction, select the mode of CesiumOriginShift to disable and set the maximum speed of the character (which can be set in the character movement component) to 10000.
You will see a jitter that feels different from the jitter in the rebase.
problem.zip (27.3 MB)



