You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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...
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 settingviewer.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
https://sandcastle.cesium.com/index.html#c=fVJRa8IwEP4roU8tlEQZe6mdTNzeBmMIewqMtD1dME0kSRU3/O+7JtbplL2Uu8t93333XWujnSdbCTuw5IFo2JE5ONm19D3UUp7UIZ8b7YXUYHmSk2+uCWFspUwFBVkK5YDrQzbhmus6MHZWIR1PKGUL0W4UPAkvWGsaUI7FCTNpj9EHhnSlKp5MBvzGOOml0Zea5sJ6jIS+S0d0lJPhk51wxkpAodfQt054sBrrl9CcjCN+YEC49HsER1NoyCU4KpomDYtr0eLWuGHeZ4PS4hSF8pmQ4jwJj8GHItpIkEn+0h3yk5NHATWOs4IqY9YznwYBtx3BfXCbLCf/9tz3fVmcwNhxhreiXkPzPOweTcCeJE9K5/cKplErIY+y3RgbLpzidT3gddFax6oOKTytnevJ+9aSnUPLRm6JbB5u/FGkVsI5fFl2Si3kF/BkWjLsv4IqIxqpV69bsErs+7bP8fQlFimlJcP0NtIboyph/zD/AA
Environment
Browser: Firefox/Chrome
CesiumJS Version: 1.115
The text was updated successfully, but these errors were encountered: