Are custom meshes dynamically built possible in Unity?

Hi all, I’m thinking about going Unity and there’s one particular feature I know I need for my project. That is the ability to build meshes on the fly, add vertices, move them, (optionally) delete them. Is this possible within Unity? It’s a bit of a deal breaker for me… Thanks for any advice.

Yes. There’s a Mesh class for that. Also an example project.

Fantastic! Thanks for the link. Can these custom meshes can be collided with? A physics object can bounce off them, for example? The purpose of the custom meshes in my project is to create custom buildings and destroy them bit by bit - so the player and enemies need to be able to walk on the floors, up the stairs, not walk through walls etc… also do they light properly with the dynamic lighting system?

Yes, yes, and yes. Dynamically created meshes are capable of everything imported meshes are.

Brilliant! Thanks very much for the info.