Hi everyone!
I want to dispose mesh on click but i am getting an error;
Uncaught TypeError: Cannot read property 'processTrigger' of null
I think when i am trying to dispose mesh the actionManager returns null because of there is no mesh anymore and actionManager.processTrigger returns error.
What is the proper way to dispose mesh onClick?
playground example: http://www.babylonjs-playground.com/#187MLU#0