tutorials/3d/procedural_geometry/arraymesh #208
Replies: 1 comment 2 replies
-
The GDScript examples contain errors. In particular, the following example wrongly associates surface_array[Mesh.ARRAY_VERTEX] = verts
surface_array[Mesh.ARRAY_TEX_UV] = uvs
surface_array[Mesh.ARRAY_NORMAL] = normals
surface_array[Mesh.ARRAY_INDEX] = indices
# No blendshapes, lods, or compression used.
mesh.add_surface_from_arrays(Mesh.PRIMITIVE_TRIANGLES, surface_array) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
tutorials/3d/procedural_geometry/arraymesh
This tutorial will present the basics of using an ArrayMesh. To do so, we will use the function add_surface_from_arrays(), which takes up to five parameters. The first two are required, while the l...
https://docs.godotengine.org/en/stable/tutorials/3d/procedural_geometry/arraymesh.html
Beta Was this translation helpful? Give feedback.
All reactions