I am able to deform a mesh during runtime however when i stop the game the mesh remains deformed until i restart unity. is there something i can do to make the mesh return to its original state after stopping the game?
thanks,
Alex M
I am able to deform a mesh during runtime however when i stop the game the mesh remains deformed until i restart unity. is there something i can do to make the mesh return to its original state after stopping the game?
thanks,
Alex M
You should instantiate the mesh when the the game starts with mesh = Instantiate(mesh) or, if the mesh is in a MeshFilter, you should get the mesh using meshFilter.mesh which will return an instantiated mesh assigned to the MeshFilter.