Skip to content
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

[Polygon2DEditor] Add tool to automatically move center of gravity to origin. #104015

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bruvzg
Copy link
Member

@bruvzg bruvzg commented Mar 12, 2025

Related to #103965, can be used to fix similar problems or center messy polygon points in general.

Screen.Recording.2025-03-12.at.13.17.06.mov

Edit: added origin and center point display.

@bruvzg bruvzg added this to the 4.x milestone Mar 12, 2025
@bruvzg bruvzg requested review from a team as code owners March 12, 2025 10:12
@groud
Copy link
Member

groud commented Mar 12, 2025

I think the feature is nice, but it would be even better to have the center of mass/origin visible (and, even better, movable).

@bruvzg bruvzg force-pushed the poly_center branch 2 times, most recently from 0dd2315 to 4cec644 Compare March 12, 2025 11:17
@bruvzg
Copy link
Member Author

bruvzg commented Mar 12, 2025

but it would be even better to have the center of mass/origin visible (and, even better, movable).

Done, both origin and center of mass are shown, and center is movable.

@bruvzg bruvzg modified the milestones: 4.x, 4.5 Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants