Problem: Picking on a changing mesh

BlitzMax Modules Forums/MiniB3D/Problem: Picking on a changing mesh

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.