getVerticesData() return null

Hello! I would like to see the vertexbuffer info of the imported glb assets.
However, getVerticesData() returns null, as in the PG below. Why is this?

Thank you!

This is because newMeshes[0] is an empty mesh used to parent the child meshes that make up Dude.

newMeshes[1] to newMeshes[4] will give the vertex positions for those meshes.

You can use the inspector to check the nodes.

3 Likes

Oops! I had made a very simple mistake :rofl:. Thank you!