Well.....
To set the pivot matrix is easy:
mesh.setPivotMatrix(BABYLON.Matrix.Translation(-1, -1, -1));//this sets the pivot in xyz axis
But how do we get the pivot matrix xyz values from the mesh?
console.log(mesh.getPivotMatrix());//This gives me only the pivot matrix of the mesh.
How do i go from here to get the local xyz values of the mesh pivot matrix?
Note: What i am looking for is to be able to show the position of the pivot of the mesh.