I have two questions regarding the pointer drag behavior:
First, I’m using both the PointerDragBehavior to move some meshes as well as camera inputs with panning and pinching. It works completely fine, I can move the camera via panning and pinching and I can move the meshes by panning / dragging them around. However, I would like to prevent dragging the meshes when the user is pinching, that is, when two or more pointers are detected (a multitouch gesture). Is there any option to prevent the pointer drag behavior from activating if there is more than one pointer detected (or stopping it as soon as there is a second pointer)? I checked “currentDraggingPointerID”, but it never changes during a drag action.
Second, I also added an action manager and perform some actions when a mesh is picked. Picking and dragging works, however, the pointer drag behavior always fires even if it is only a tap/click. Are there built-in methods to start dragging only after a given threshold? So far I built it myself, but it seems a bit clunky.