Skip to content

Body names are duplicated. #91

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

Open
DennisBengs opened this issue Jul 18, 2019 · 1 comment
Open

Body names are duplicated. #91

DennisBengs opened this issue Jul 18, 2019 · 1 comment

Comments

@DennisBengs
Copy link

DennisBengs commented Jul 18, 2019

When deleting and creating new bodies over and over, multiple bodies can end up with the same name, which breaks checkContact.

this.id = this.parent.numRigidBodies;

@lo-th
Copy link
Owner

lo-th commented Jul 18, 2019

is a error on collision not on bodie is fix in next release soon
you don't have to delete body
if is same name is automatically delete

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