Opened 14 months ago
Last modified 11 months ago
#6765 new defect
Gatherable resources: Clickable area >> Model area
Reported by: | Alex Theodoulidis | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 27 |
Component: | UI – In-game | Keywords: | |
Cc: | Alex Theodoulidis | Patch: |
Description
If we move the cursor on a gatherable resource model (e.g. Stone Quarry), the cursor's icon changes to the corresponding resource (in this example, stone) and a left click will result in gathering that resource.
Moving the cursor close to the model can also have this effect. But as the title suggests, the clickable area is a lot bigger than the model itself. They do not have to be completely equal, but the tolerance should not be this high. Because, right now, units cannot occupy that space.
Please take a look at the attached video.
Attachments (1)
Change History (11)
by , 14 months ago
Attachment: | StoneQuarry#6765.mp4 added |
---|
comment:1 by , 14 months ago
comment:2 by , 14 months ago
Maybe use two bounding boxes? Leave the bottom half as it is and replace the top half with a smaller rectangle/square to cover only the top of the stone quarry. Have multiple bounding boxes been used for anything at all? I believe all the other gatherable resources that have this problem (e.g. some trees) do not need anything more than a small reduction on the original bounding box.
comment:3 by , 14 months ago
You cannot add a new extra bounding box to an object without making substantial changes to the engine. It is also bad for performance.
comment:4 by , 14 months ago
Fair enough! Do you agree with the reduction though? Or I am being extravagant?
comment:5 by , 14 months ago
Reduction might make sense. Keep in mind that it must fit all the variants that exist.
comment:9 by , 12 months ago
Milestone: | Alpha 27 → Alpha 28 |
---|
Well the bounding box is a square. So if you reduce it, it will make it harder to select stone. If you want to click near the stone, maybe just rotate the camera ?