I believe that is a batch related method, and all batches were removed from jME 2.0; I would need a little more code before I can give you an accurate answer…
public boolean pick() {
castRay();
if (picked.getNumber() > 0) {
for (int i = picked.getNumber()-1; i >= 0; i--) {
Node n = picked.getPickData(i).getTargetMesh().getParentGeom().getParent();
while (n!= rootNode) {
if (n instanceof BoardTile) {
BoardTile tile = (BoardTile)n;
point = tile.pos;
return true;
}
n = n.getParent();
}
}
}
return false;
}
Here's the full function. It is for a chess game, and it tries to determine which tile you are clicking on the board.