3Dlove Posted September 9, 2015 Share Posted September 9, 2015 Hello guys =) I try to execute a code on mesh actioManager,see here : http://www.babylonjs-playground.com/#19IQKJmesh.actionManager.registerAction(new BABYLON.ExecuteCodeAction( { trigger: BABYLON.ActionManager.OnPickTrigger }, function () { console.info('hey'); },true));PS : I don't like the new editor font :/ Have a nice day Quote Link to comment Share on other sites More sharing options...
3Dlove Posted September 9, 2015 Author Share Posted September 9, 2015 Here is the solution^^ : http://www.babylonjs-playground.com/#19IQKJ#1mesh.actionManager.registerAction(new BABYLON.ExecuteCodeAction( BABYLON.ActionManager.OnPickTrigger, function () { console.info('hey'); })); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.