Hi everybody:
Only a quick question.
Usually I prefer to use "Observables" over others BJS alternatives, in order to manage all user interaction, namely:
myScene.onPointerObservable.add(onPointerDown,BABYLON.PointerEventTypes.POINTERDOWN);
myScene.onPointerObservable.add(onPointerUp,BABYLON.PointerEventTypes.POINTERUP);
myScene.onPointerObservable.add(onPointerMove,BABYLON.PointerEventTypes.POINTERMOVE);
...
This works great but it lacks of the functionality of changing the pointer to the one with the hand, so I need to add an extra step, by means of Action Manager:
myMesh.actionManager=actionManager;
myMesh.actionManager.registerAction(new BABYLON.DoNothingAction(BABYLON.ActionManager.OnPointerOverTrigger)); /*pointer change*/
Obviously, using the resources of an Action Manager only for the "cosmetic" aim of change the pointer is an overkill. Is there any more clever alternative?
Thanks for your time.