Hi
Is it possible to 'break' a Mesh down into its individual polygons and place them into an array? What I would like to do with a basic mesh is 'explode' its polygons off at random velocity in the direction of the polygon faces.
I had a brief look at Mesh.GetTriangles but I'm a little confused as this returns int[]! - so I think this is a non starter.
Then I had a look at Mesh.vertices which makes a little more sense as it returns Vector3[] (which I assume is the coordinates of the...
'Splitting' a Mesh
Is it possible to 'break' a Mesh down into its individual polygons and place them into an array? What I would like to do with a basic mesh is 'explode' its polygons off at random velocity in the direction of the polygon faces.
I had a brief look at Mesh.GetTriangles but I'm a little confused as this returns int[]! - so I think this is a non starter.
Then I had a look at Mesh.vertices which makes a little more sense as it returns Vector3[] (which I assume is the coordinates of the...
'Splitting' a Mesh