-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Rotation around selection center is not calculated correctly #29567
Comments
The selection center is currently calculated as the center of the quad surrounding the selection. Maybe a better definition of selection center could be the point that minimizes the maximum distance to all points in the selection. |
I did some simple experiments in stable and I think stable uses the centroid (average position of all circles), which is kinda intuitive for me. The point minimizing the maximum distance (center of smallest the enclosing circle) could also work and I can see why in some cases it's better, but I feel that this behavior can be quite surprising to new users. If this is the direction moving forward I think some visualization of the center position (and the enclosing circle) should be added. Sliders are more complicated though. It seems that stable only uses sliderheads when calculating the selection center. I think this behavior is not bad (and sometimes better than considering the whole slider path), though I'm not against changing it either. |
Type
Game behaviour
Bug description
note that the result positions are somewhat different, even though they should be the same. By checking against stable, it seems that the rotation around "playfield center" is correct but "selection center" is wrong.
Screenshots or videos
output.mp4
Version
master
Logs
The text was updated successfully, but these errors were encountered: