In order to determine if the mouse cursor is over one of the 3d objects in the scene, I'm using the dbPickObject function (if my memory is correct, I'm currently elsewhere)
Since that function's performence is pretty dependent on the complexity of the objects in the picking range, I use collision boxes for every object. The thing is : I don't want to see these boxes of course. But it seems dbPickObject will not take into account the hidden objects (which is somewhat logical)
Anyone has an idea on how to get around that? What I'm currently doing is unhiding all the boxes before picking and the rehiding them before syncing. But that's not a great solution...
Jonathan