I am getting thinInstanceIndex in scene.onPointerDown event along mesh name with:
scene.onPointerDown = function (evt, pickResult) {
console.log(pickResult.thinInstanceIndex)
console.log(pickResult.pickedMesh.id)
};
is it possible, instead scene.onPointerDown could I get this information with action manager to know which thinInstanceIndex was clicked?
sphere.actionManager = new BABYLON.ActionManager(scene);
sphere.actionManager.registerAction(
new BABYLON.ExecuteCodeAction(BABYLON.ActionManager.OnPickTrigger,
function (event) {
})
);
@Evgeni_Popov and @sebavan Thank you so much for all, and I wish you all a great 2021
I wanted to ask about PR’s , I am using BabylonJS in typescript with npm babylonjs@preview , when you publish a PR does it get pushed to the package or I have to clone master branch from GitHub for latest updates? in case PR’s are delayed to be published in npm, can I please get instructions for how to setup latest branch for typescript?