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

Help with resizing P2 Box? #369

Open
eproasim opened this issue Oct 18, 2022 · 0 comments
Open

Help with resizing P2 Box? #369

eproasim opened this issue Oct 18, 2022 · 0 comments

Comments

@eproasim
Copy link

In the demos, I see that the engine will immediately respond to a P2Circle's radius being changed, but I can't seem to replicate the behavior with a P2Box. I've tried changing the height and width and then updating the area, boundingRadius and AABB on the shape as well as the P2Body, but the result always seems to be the original dimensions of the box.

Is there something I'm missing here, or are you unable to resize a P2Box after it's been added to a body?

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

1 participant