Hi! i'm trying to add some grass mesh on a height map, but the getHeightAtCoordinates return sometimes a wrong value ( and the grass is up in the sky..) i using the same code of the instances example:
BABYLON.SceneLoader.ImportMesh("", "./assets/mesh/world/", "grass.babylon", this.GameKernel.scene, function (grass) {
var x1 = 0;
var z1 = 0;
grass[0].material.opacityTexture = null;
grass[0].material.backFaceCulling = false;
grass[0]