How would I add faces to an mesh.

Hey Everyone,

I was wondering is there any way for me to add faces to an already existing objects mesh. I need to do this because I intend on making procedural generated terrain that generates as the player walks towards it. If this is possible, would it create collision model too.

Thanks,
Austin

The easier way to do this would be to implement tiles that are instantiated as you walk toward them , and are destroyed as you walk away from them.

Take a look at the Mesh class: Unity - Scripting API: Mesh

The examples in there should point you in the right direction.