Hi,
I want to pick the terrain face. But, what if there are some transparent faces like smoke over that terrain face. How could I pickPolygon behind that transparent faces? If i disable the mouse selectable of those transparent faces, pickPolygon'll return null not the terrain face behind them. I try to use reproject2D3D with z by adding more z to avoid that transparent faces. But, I don't know how much z to set to avoid them cause my terrain is not flat. For example, i give z=0 then call pickPolygon and check that the returned face is the terrain face. If not, I add more z for reproject2D3D then call pickPolygon again until I get null or the terrain face. Sometimes, it miss the terrain face! I think it's not good that pickPolygon has to be called again and again as well. Any other way?
Thank you.