Hi all,
I'm trying to implement a rectangle selection functionality, so I draw a 2d rectangle on the screen and I would like to get all the objets whose screen projection is inside this rectangle.
First idea : project all the objects on the screen with ISceneCollisionManager ::getScreenCoordinatesFrom3DPosition and check if they are or not inside the rectangle. But I need to iterate on all (or at at least on a lot of) my objects.
But, as well there is a solution to select a node from a 2d screen position, isn't it something similar to select everything that is behind a 2d rectangle ?
How to select nodes behind a 2d rectangle ?
Look at my topic here: Selecting nodes in a region. Maybe it will help you.