Open hpinkos opened 7 years ago
Any updates on this or even a workaround? I'm trying to use exactly the technique described to stop the globe from moving while interacting with the globe. I've tried setting the inertia values to zero on pointerdown and resetting them on pointer up, but that doesn't seem to work either.
Any workaround for this? I'm running into this issue as well.
Hi, I think I’ve found a workaround that should work for drag-and-drop use cases, and potentially others as well. You can check out my detailed explanation along with a working Sandcastle demo here.
I would expect the following code to make the globe stay put since
screenSpaceCameraController
is disabled between pressing on the mouse button and releasing it. However, while the globe doesn't drag normally, if you flick it the camera inertia causes the globe to move at the end.