real time model modification.


I have got a straight road part and I want to manipulate it from code to turn left or right by a specific degree. Fist time I thought rigging the road part and manipulating the bones in code will solve the problem but I couldn’t do that. Does anybody knows which is the best way to do that?


Read all the sub-articles under Generating Mesh Geometry Procedurally carefully from this Unity Manual. This is what you need.

Mesh is the scripting API for the same.