Unable to get vertex data from mesh created by Mesh.CreateGroundFromHeightMap


When i do ground.getVerticesData(BABYLON.VertexBuffer.PositionKind) return null,is it correct?

pg Babylon.js Playground

CreateGroundFromHeightMap is asynchronous because it needs to read the texture first. There is a callback in that function where you should drop your code :wink:

ops,my bad :blush: sorry!

1 Like