merovingian
05-14-2004, 10:32 AM
Hi,
I'm just wondering if anyone can point me in the right direction regarding drag selection? I'm trying to drag a rectangle over a bunch of little cubes, pyramids, etc in my program, then have those objects added to a list of items that were selected: The only thing I'm having a problem with is recording which objects the selection rect passed through/hit.
Should I draw the selection rect in screen coords or world coords?
Any idea how those Warcraft3 people do it? lol
Thanks.
I'm just wondering if anyone can point me in the right direction regarding drag selection? I'm trying to drag a rectangle over a bunch of little cubes, pyramids, etc in my program, then have those objects added to a list of items that were selected: The only thing I'm having a problem with is recording which objects the selection rect passed through/hit.
Should I draw the selection rect in screen coords or world coords?
Any idea how those Warcraft3 people do it? lol
Thanks.