You need to set these values after altering the mesh:
mesh.reset_bounds=True
mesh.col_tree.reset_col_tree=True
Alternatively, use a command like PositionMesh which will do this for you.
It will probably still cause slowdown though, as the collision tree has to be rebuilt.
mesh.reset_bounds=True
mesh.col_tree.reset_col_tree=True
Alternatively, use a command like PositionMesh which will do this for you.
It will probably still cause slowdown though, as the collision tree has to be rebuilt.