Hello,
How to I discriminate between a click on the canvas and just a click & drag to move my camera?
scene.onPointerDown = function(evt, pickingInfo) {
var pickResult = scene.pick(scene.pointerX, scene.pointerY);
console.log(pickResult.pickedMesh.material.name);
}
The above logs to the console when I left click to move my camera which I would like to avoid.
Thank you.