I’m designing an interface that uses an ArcRotateCamera and also includes picking. I’m having problems with picking events occurring during camera interaction, and I’m wondering how to prevent them.
Here’s an example of the problem:
https://playground.babylonjs.com/index.html#1A3M5C#57
As I move the camera around, constant picking will print the name of the picked mesh to console. If I release the pointer on top of a mesh, sometimes the picking callback will get called (though not always).
Is there a way to know that the camera interaction is currently active so that I can ignore the pick events?
Conversely, if I give up and make the interface modal (user selects picking mode or camera mode), is there a way to just disable the camera interaction? Do I just attach and detach?
Thanks.