https://playground.babylonjs.com/#H6K2HU bug

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:

3 Likes

Thank you