Hello, again, I cant create a playground recreation because I’m doing this on VS Code Studio, but I’m having trouble rotating the fur plain from the side to be flat. The code im working with is below:
CreateFur(): any {
const grass = MeshBuilder.CreatePlane ("grass", {size:100}, this.scene);
grass.rotation = new Vector3(Math.PI/2, 0, 0);
const FurMaterial = new BABYLON.FurMaterial("fur", this.scene);
FurMaterial.highLevelFur = true;
FurMaterial.furLength = 5;
FurMaterial.furAngle = 0;
FurMaterial.furColor = new Color3(0.99, 0.82, 0.82);
FurMaterial.diffuseTexture = new Texture("./images/grass_diff_2.jpg", this.scene);
FurMaterial.furTexture = BABYLON.FurMaterial.GenerateTexture("furTexture", this.scene);
FurMaterial.furSpacing = 3;
FurMaterial.furDensity = 10;
FurMaterial.furSpeed = 1000;
FurMaterial.furGravity = new Vector3(0, 0, 0);
grass.material = FurMaterial;
const quality = 100;
const shells = BABYLON.FurMaterial.FurifyMesh(grass, quality);
return this.scene;
}