Hello,
I modify a TerrainPage with addHeightMapValue() method and I do an updateFromHeightMap(). The rendered result seems ok, but after the modification, I can't pick triangles anymore (pickData.getTargetTris().size() returns 0).
It looks like I'm rendering the modified mesh but picking the old one.
Do I miss an update somewhere ?
Thank you for your help.
ps : I'm doing this with jME2
Might need to call CollisionTreeManager.getInstance().updateCollisionTree(terrain);
It is exactly what I was missing. Thank you very much.