Hi guys,
I have a mesh with two triggers assigned to its actionManager:
ground.actionManager.registerAction(new BABYLON.ExecuteCodeAction(BABYLON.ActionManager.OnPickTrigger, function (event){
console.log("OnPickTrigger");
}));
ground.actionManager.registerAction(new BABYLON.ExecuteCodeAction(BABYLON.ActionManager.OnLongPressTrigger, function (event){
console.log("OnLongPressTrigger");
}));
The thing is, when the OnLongPressTrigger is triggered, the OnPickTrigger is also triggered. Is there any way to avoid triggering the onPickTrigger?
Thanks in advance!