View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0006308 | Spring engine | General | public | 2019-09-24 19:26 | 2019-09-28 12:36 |
| Reporter | Rampoina | Assigned To | |||
| Priority | normal | Severity | feature | Reproducibility | always |
| Status | new | Resolution | open | ||
| Product Version | 104.0 +git | ||||
| Summary | 0006308: Use selection volumes in the box selection algorithm | ||||
| Description | Add the possibility to use selection volumes when selecting units using box select, like it's done with the normal click selection. | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | Irrelevant | ||||
|
|
This is much more work to implement than anyone will reasonably commit to because selection volumes can be ellipsoids, boxes, and cylinders in addition to spheres, which are all plane-intersection-unfriendly. Taking the selvol's bounding radius into account for each plane test is about the best you can hope for here, but that obviously also has edge cases to consider. |
|
|
I see. What about a simple bounding box collision? |
|
|
With the current box selection implementation you can get some results that are a bit off from a UX point of view. You can have 1/3 of the unit covered visually, but because it doesn't pass the mid point it won't get selected. I was only suggesting selection volumes because it seemed the more generic solution, but of course if the collision tests are not already implemented it's a lot of work. A compromise like a bounding box collision would be great |
|
|
You can add OOBB-based selection handling, but I would start simple and just test more sample points first. |