demo url
objMesh is cuboid
bug
var positions = objMesh.getVerticesData(BABYLON.VertexBuffer.PositionKind);
positions is box
demo url
objMesh is cuboid
bug
var positions = objMesh.getVerticesData(BABYLON.VertexBuffer.PositionKind);
positions is box
getVerticesData
returns the points in local space, without the world transformation applied. You have to apply the transformation yourself if you want the points to be in world space:
Thank you