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

Adding fixtures changes the sprite's dimension values #310

Closed
quinton-ashley opened this issue Mar 12, 2024 · 1 comment
Closed

Adding fixtures changes the sprite's dimension values #310

quinton-ashley opened this issue Mar 12, 2024 · 1 comment
Assignees
Labels

Comments

@quinton-ashley
Copy link
Owner

quinton-ashley commented Mar 12, 2024

This issue was noticed by @ .froderick on Discord.

After adding a collider or sensor (planck fixture) sprite.w, for example, gets the width of the added fixture. Setting sprite.w it will set the width of the original collider though.

I think for simplicity sprite.w should just reference the width of the sprite's first collider.

@quinton-ashley quinton-ashley self-assigned this Mar 12, 2024
@quinton-ashley
Copy link
Owner Author

fixed in v3.19.17

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

No branches or pull requests

1 participant