Add a new function, SphereGroup:destroySpheresList(positions), which takes a list of any arbitrarily chosen spheres, instead of having just a function for a single sphere and a function for a number of consecutive spheres. The group would be divided and speeds correctly applied, instead of iterating through spheres and removing them one at a time from somewhere else. This poses problems with correct speed applying depending on which spheres lie on each end of a gap due to them being applied in the middle of the sphere destruction process.
Add a new function,
SphereGroup:destroySpheresList(positions)
, which takes a list of any arbitrarily chosen spheres, instead of having just a function for a single sphere and a function for a number of consecutive spheres. The group would be divided and speeds correctly applied, instead of iterating through spheres and removing them one at a time from somewhere else. This poses problems with correct speed applying depending on which spheres lie on each end of a gap due to them being applied in the middle of the sphere destruction process.