How do we get the picking point in from the ActionEvent passed to my ExecuteCodeAction triggered by OnPickTrigger?
For example:
const actionManager = new ActionManager(scene)
actionManager.registerAction(
new BABYLON.ExecuteCodeAction(BABYLON.ActionManager.OnPickTrigger, (event) => {
const pickingPoint = // ... get the picking point from the event ...
console.log(pickingPoint)
})
);
mesh.actionManager = actionManager