moving agent collision test