@Morgan_Sundin wrote:
Hi, I made a function for selecting/picking one 3D object but what method could I use to select several.
Like in 3D real time strategy games.For one object I'm using a Ray and a BoundingSphere and that function is working like a charm.
pickRay.Intersects(sphere).... etc.
But what if I'm holding down the mouse button to create a square selecting several objects within that square?
Could I still use Ray/Rays for this? Or what would be a better approach?Regards, Morgan
Thanks in advance
Posts: 3
Participants: 3