We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I just came across issue #92. It doesn't seem to be a problem with wireframes on: https://jsfiddle.net/pgtb8o74/2/
However, with wireframes turned off, circleRadius does not get updated after scaling: https://jsfiddle.net/gdxs9vpa/2/
I've had to manually update with: Matter.Body.scale(circle, 1.3, 1.3); var radius = Math.sqrt(circle.area / Math.PI); circle.circleRadius = radius;
Matter.Body.scale(circle, 1.3, 1.3);
var radius = Math.sqrt(circle.area / Math.PI);
circle.circleRadius = radius;
I know the old issue was closed but this is a pretty painful "gotcha".
The text was updated successfully, but these errors were encountered:
f428d6b
No branches or pull requests
I just came across issue #92. It doesn't seem to be a problem with wireframes on:
https://jsfiddle.net/pgtb8o74/2/
However, with wireframes turned off, circleRadius does not get updated after scaling:
https://jsfiddle.net/gdxs9vpa/2/
I've had to manually update with:
Matter.Body.scale(circle, 1.3, 1.3);
var radius = Math.sqrt(circle.area / Math.PI);
circle.circleRadius = radius;
I know the old issue was closed but this is a pretty painful "gotcha".
The text was updated successfully, but these errors were encountered: