FloatBuffer color1 = s.getColorBuffer(0);
	protected void simpleUpdate() {		count++;		if (count < 3)			return;		count = 0;		int[] indexBuffer = new int[3];		if (oldData != null) {			if(oldData.getSourceBatchId() == 1) {				System.out.println("1");			}				FloatBuffer color1 = s.getColorBuffer(0);				for (int j = 0; j < oldData.getSourceTris().size();j++) {					int triIndex = ((Integer) oldData.getSourceTris().get(j)).intValue();					s.getTriangle(oldData.getSourceBatchId(), triIndex, indexBuffer);					BufferUtils.setInBuffer(colorSpread[indexBuffer[0] % 3], color1, indexBuffer[0]);					BufferUtils.setInBuffer(colorSpread[indexBuffer[1] % 3], color1, indexBuffer[1]);					BufferUtils.setInBuffer(colorSpread[indexBuffer[2] % 3], color1, indexBuffer[2]);				}				}					if (oldData != null) {				FloatBuffer color1 = r.getColorBuffer(0);				for (int j = 0; j < oldData.getTargetTris().size();j++) {					int triIndex = ((Integer) oldData.getTargetTris().get(j)).intValue();					r.getTriangle(oldData.getTargetBatchId(), triIndex, indexBuffer);					BufferUtils.setInBuffer(colorSpread[indexBuffer[0] % 3], color1, indexBuffer[0]);					BufferUtils.setInBuffer(colorSpread[indexBuffer[1] % 3], color1, indexBuffer[1]);					BufferUtils.setInBuffer(colorSpread[indexBuffer[2] % 3], color1, indexBuffer[2]);				}			}				results.clear();		m.findCollisions(n, results);		if (results.getNumber() > 0) {			oldData = results.getCollisionData(0);			for (int i = 0; i < oldData.getSourceTris().size(); i++) {				FloatBuffer color1 = s.getColorBuffer(0);				int triIndex = ((Integer) oldData						.getSourceTris().get(i)).intValue();				s.getTriangle(oldData.getSourceBatchId(), triIndex, indexBuffer);				BufferUtils.setInBuffer(ColorRGBA.red, color1, indexBuffer[0]);				BufferUtils.setInBuffer(ColorRGBA.red, color1, indexBuffer[1]);				BufferUtils.setInBuffer(ColorRGBA.red, color1, indexBuffer[2]);			}			for (int i = 0; i < oldData.getTargetTris().size(); i++) {				int triIndex = ((Integer) oldData						.getTargetTris().get(i)).intValue();				FloatBuffer color2 = r.getColorBuffer(0);				r.getTriangle(oldData.getSourceBatchId(), triIndex, indexBuffer);				BufferUtils.setInBuffer(ColorRGBA.blue, color2, indexBuffer[0]);				BufferUtils.setInBuffer(ColorRGBA.blue, color2, indexBuffer[1]);				BufferUtils.setInBuffer(ColorRGBA.blue, color2, indexBuffer[2]);			}		}	}