Need help accessing vertex data


(theresnothi) #1

I just learned how to create verticies with NMesh. I want to know how to access the indiviual coordinates of existing verticies (like x y and z) so i can perform math functions on them (such as a series of vector math for cloth simulation)

It seems that NMesh.Vert objects aren’t subscriptable, so i need another way to access their data.


(theeth) #2

the object in itself is not subscriptable, but it’s Co (coordinates), No (normal) and uvco (UV coordinates) properties are indeed subcriptable (both are Vector objects).

Btw, if you want to do cloth simulation and would be interested in joining the Dynamica team, e-mail me at [email protected]

Martin