cesium-unity icon indicating copy to clipboard operation
cesium-unity copied to clipboard

Problem with CesiumCameraController movement in V1.11.0

Open luolihui119 opened this issue 1 year ago • 7 comments

Sometimes the camera moves very slowly。

luolihui119 avatar Jul 11 '24 06:07 luolihui119

This method(RaycastTowardsEarthCenter) returned a very small value,Causing the value of acceleration to remain constant at 20000。

luolihui119 avatar Jul 11 '24 06:07 luolihui119

Hi @luolihui119,

Can you give us more information so we can reproduce this issue? What are the ECEF coordinates of the camera where this issue is happening?

j9liu avatar Jul 22 '24 14:07 j9liu

1721707077115 1721707115462

decompression the file:com.cesium.unity-1.11.0.tgz

Copy to the project: 1721708083096

the center :114.5111 , 35.60294 , 5000

the unity version: 2021.3.21f1c1

then run ,sometimes it's very slow during the operation process.

luolihui119 avatar Jul 23 '24 04:07 luolihui119

the camera info:

1721708232771

luolihui119 avatar Jul 23 '24 04:07 luolihui119

1721709115236

luolihui119 avatar Jul 23 '24 04:07 luolihui119

I also encountered this bug. When I use the pre made DynamicCamera to control camera movement, quickly using QE to raise and lower the height, such as continuously pressing E and then continuously pressing Q, will cause movement failure. Version 1.110, this bug will be 100% reproduced, including official cases

CK-henry avatar Aug 19 '24 18:08 CK-henry

@j9liu The same issue exists in the Unity version (2022.3.40),the cesium-unity version is 1.11.0. Now I have replaced the script (CesiumCameraController.cs) with version 1.4.0,and there is no such issue

luolihui119 avatar Aug 22 '24 09:08 luolihui119