-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Radar dots cannot to be targeted sometimes #1488
Comments
issue persists |
Requesting review to determine the best way to fix this. |
Regarding this issue, not very sure about the description or what's going on. If the dots are outside of radar range how do they show up? For cases of buildings that actually leave a radar trace outside of radar range I can see attack doesn't allow targeting, either through circle or direct click. For radar dots when inside radar range seems to work fine, at least when I tested now I can click to attack them as well as area attack, but maybe I'm overlooking something. This can be investigated, but I think it's something that can also affect balance, also a possible problem might be that you can have a radar trace but the building already be destroyed, so allowing targeting there can be problematic since it has to be done in a way not to leak information to players (likely this is why it's not implemented atm). If everyone agrees they should be targeted then at some point the issue can be investigated, but currently it's not clear if it's actually wanted. |
What's going on is the actual position of the unit is inside of radar range, but radar wobble causes them to drift in and out of radar range. When outside of radar range, they are not targetable. At least that's what I remember from the issue |
Ok I understand now. I noticed also area command doesn't seem to choose based on the radar dot, but on the actual unit position, might be related. |
I think I know what's going on, it's not related to going out of radar range, but going out of Quad (internal buckets where units are placed to simplify collision detection). GetQuadsOnRay doesn't return the quad where the units are and thus they aren't detected on mouseover or click. On the other hand the circular selection fails because it doesn't take into account the radar wobble so just selects based on real position. |
Conditions: Target unit is small and radar dot deviated from real unit position far.
https://youtu.be/ehy28yOQ8_k
The text was updated successfully, but these errors were encountered: