What is the solution to the obvious stagnation of the mouse movement when it is above the model during the scene rotation process
Have you ever encountered such a problem
I found the following reason: I added an event ‘pointdown’ on the canvas, which makes it easy to get stuck. Is there any solution
I suspect that there are too many faces and points of the cylinder in the model, resulting in movement stagnation
if the object is very complex, picking information will take time to be created. Which i assume is what happening here, though it’s impossible to be 100% sure without a reproduction. Would be great to see a playground showing the issue.
You can disable picking when the camera is moving, for example. especially on complex objects. Is the scene updates the pointer on pointer move as well?
can I ask what exactly you are trying to achieve with the scene pick call on pointer down?
Babylon already does it for you. scene.onPointerDown (or better yet the onPointerObservable of the scene) provides you with a pick information object with the pick of your pointer. You can also provide a predicate (or check after the click happened)