Add a 'Vertex', 'Triangle' and 'Quad' Class

Capture

I want to create custom terrain. Currently I need to use 4 differently sized wedges to fill a single square cell in the terrain. Obviously this isnt efficient. If Roblox added a few simple classes, this could be made much more efficient

The Vertex class would act similar to a Vector3Object, it should just hold a Vector3 property (and maybe a Color3 property for vertex paint?).

The Triangle and Quad classes should have Vertex0, Vertex1, Vertex2 (and for Quad, Vertex3) properties where you can set the values to a Vertex instance. Triangles and Quads would need to be parented (not directly, should be compatible with folders) to a MeshPart and they would be rendered as part of that MeshPart

11 Likes

A post was merged into an existing topic: API to create and modify meshes during runtime

Merging this with the topic above – same use cases and it compounds the feedback/support that way.