Hello,
I would like with my 'dbclick' event function recover pickingInfo like the function onPointerDown.
How can do I ?
I would like recover the mesh informations.
http://www.babylonjs-playground.com/#7JOOL
I saw that there was another way to place an event on a mesh. More suitable for my case I think.
My problem with this method is that I can not access variables in my class...
this._machine.actionManager = new BABYLON.ActionManager(scene);
this._machine.actionManager.registerAction(new BABYLON.ExecuteCodeAction(BABYLON.ActionManager.OnPickUpTrigger, function () {
alert("machine cliqued");
alert("this._privateAttribut"); //undifined
}));