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

Fix transform not destroyed on Ammo Hull creation #6643

Merged

Conversation

MushAsterion
Copy link
Collaborator

When calling CollisionComponentSystem#_getNodeTransform, it creates an Ammo.btTransform.

This transform is already correctly destroyed on other use of the function but on the Hull implementation, fixing through this PR.

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

@MushAsterion MushAsterion added area: physics Physics related issue open source contribution Issues related to contributions from people outside the PlayCanvas team labels May 30, 2024
Copy link
Contributor

@willeastcott willeastcott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well spotted. Thanks @MushAsterion! 🙏

@willeastcott willeastcott merged commit 9927c7e into playcanvas:main May 30, 2024
8 checks passed
@MushAsterion MushAsterion deleted the CollisionMeshDestroyTransform branch May 30, 2024 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: physics Physics related issue open source contribution Issues related to contributions from people outside the PlayCanvas team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants