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)

StoneQuarry#6765.mp4 (1.3 MB ) - added by Alex Theodoulidis 14 months ago.

Download all attachments as: .zip

Change History (11)

by Alex Theodoulidis, 14 months ago

Attachment: StoneQuarry#6765.mp4 added

comment:1 by Stan, 14 months ago

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 ?

comment:2 by Alex Theodoulidis, 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 Stan, 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.

Last edited 14 months ago by Stan (previous) (diff)

comment:4 by Alex Theodoulidis, 14 months ago

Fair enough! Do you agree with the reduction though? Or I am being extravagant?

comment:5 by Stan, 14 months ago

Reduction might make sense. Keep in mind that it must fit all the variants that exist.

comment:6 by Alex Theodoulidis, 14 months ago

What do you mean by variants?

comment:7 by Stan, 14 months ago

The stone model has different variations which are called variants.

comment:8 by Alex Theodoulidis, 14 months ago

Oh, I thought there was only one model of stone quarry.

comment:9 by Stan, 12 months ago

Milestone: Alpha 27Alpha 28

comment:10 by Stan, 11 months ago

Milestone: Alpha 28Alpha 27

Push back

Note: See TracTickets for help on using tickets.