Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

Possible to return vertices of a mesh?

Still a little green? Ask your beginner's questions here

Possible to return vertices of a mesh?

Postby KuraMatata » Thu Jun 13, 2019 1:45 am

Hi all, I am trying doing triangle mesh collision in TD. I use a trace sop to trace a texture so that I can get a mesh but I need the information of the mesh.

I saw that in Unity there can be returned an array of the triangles and vertices of a mesh like:
Code: Select all
Vector3[] vertices = mesh.vertices;
int[] triangles = mesh.triangles;


I wanna know if there is a similar function in TD for me to get the vertices and the triangles of the mesh. Anyone has hints?


Thanks in advance!
KuraMatata
 
Posts: 33
Joined: Mon Nov 26, 2018 3:05 am

Return to Beginners

Who is online

Users browsing this forum: No registered users and 19 guests