VRHelper.onNewMeshSelected.add(function(mesh) {
selectedMesh = mesh;
});
There is no way of determine which controller selected a mesh
Bugs
- Bug repro on
https://www.babylonjsplayground.com/#B4C2AH
Select mesh with right controller
Pull trigger on left controller
Expected result:
Mesh will not be attached to right controller
- Current result:
Mesh is attached to right controller