I’m new to babylon.js (4.1) so this question might be stupid.
As soon as I’ve created an ActionManager for my Mesh, the performance of my app went south.
On mouse move over the canvas, the frame rate would drop to 0 without even registering an action.
Chrome’s Profiling tool shows that “SubMesh._intersectTriangles” takes a lot of time.
Commenting the ground.actionManager = new ActionManager(this.scene); fixes the issue.