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

Body Anchor #34

Open
yesitsfebreeze opened this issue Jun 22, 2022 · 1 comment
Open

Body Anchor #34

yesitsfebreeze opened this issue Jun 22, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@yesitsfebreeze
Copy link

Could there possibly be an implementation of an anchor property for bodies?
Integrating the library in Top/Left anchored engines is a bit of a hassle and needs a lot of unnecessary code ala:

pos.x = x - bounds.width/2;

I know it would 'break' centered polygons, but if the anchors are 0.5 by default, it would be up to the implementer to make it work correctly.

@AustinEast AustinEast added the enhancement New feature or request label Aug 3, 2022
@AustinEast
Copy link
Owner

Definitely reasonable request, I'll be looking into it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants