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

What is the least expensive way to make bodies of different shapes smaller? #1262

Open
MaxMinimus opened this issue Nov 29, 2023 · 1 comment

Comments

@MaxMinimus
Copy link

I'm using the circleRadius property to make circular bodies smaller. Are there similar properties for rectangles and polygons?

Scaling is not suitable because there is a large load on the processor.

@mariomadrid440
Copy link

Use surface

l^2 = S

where S is square surface

substitute r or S on code

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

No branches or pull requests

2 participants