The documention says " (number) side size of the plane" but no matter what value I set my mesh has only has 2 triangles. I expected this to behave like threejs’s PlaneGeometry where you can specify the number of faces along each dimension.
You may set the number of vertices with
mesh.increaseVertices(n);
Where n is the number of points per side added to each side of a facet; the number of facets is increased by (n + 1)2 (squared).
Example - Babylon.js Playground
Moved this to the ‘questions’ category.
I believe @labris answer applies here.
Else, let us know and meanwhile, have a great day
Edit: Oh, and I nearly forgot: Welcome to the Community and feel free to come anytime with your questions (and of course bug reports ) Not as if there are none, but in case, they will be swiftly taking care of
Thanks @labris I also found createground in the meantime. But I still wonder how to use the size parameter of createplane correctly?
Size defines all plane sides size in relative units.
If you are using size, your plane will have square shape; for rectangle shape use width and height parameteres.