godotengine / godot-docs

Godot Engine official documentation
https://docs.godotengine.org
Other
3.8k stars 3.08k forks source link

Non working & non understandable ArrayMesh page in godot 4.2 docs #8967

Open sanketsbrush opened 7 months ago

sanketsbrush commented 7 months ago

Your Godot version:4.2

**Issue description: Godot ArrayMesh pages in the docs 4.2 are so confusing, and demo codes of ArrayMesh in the docs 4.2 are not working at all.

I'm trying to learn about creating procedural mesh using array mesh from last 2 and a half weeks yet I havent managed to create a single triangle in ArrayMesh. External tutorials are so complex to understand. Reading docs is much easier. But my application of code of ArrayMesh of docs 4.2 in godot engine 4.2 are not working at all,

I kindly request developers of Godot 4.2 docs to recreate ArrayMesh page , more simpler , more understandable with working pieces of ArrayMesh code demos. **

URL to the documentation page (if already existing):https://docs.godotengine.org/en/stable/tutorials/3d/procedural_geometry/arraymesh.html

TAGames commented 6 months ago

The C# full code example has an error:

 var arrMesh = Mesh as ArrayMesh;

Should be:

var arrMesh = new ArrayMesh();