-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Description
What happened?
When loading a model (e.g. a GLB) at the origin and looking at it, then the camera moves/rotates without any user interaction.
It does not happen when globe:false
is set.
It does happen when manually setting the camera with camera.lookAt
(unless the target is (0,0,0)), and it also happens when setting viewer.trackedEntity = entity;
.
The movement seems to be a bit ... unsteady and "random". In fact, with the sandcastle below, the camera is slowly rotating, and after ~30 seconds, it screws up the orientation in a way so that the model is no longer visible...
Reproduction steps
Do nothing 😁
(After opening the sandcastle below...)
Sandcastle example
Environment
Browser: Firefox/Chrome
CesiumJS Version: 1.115