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

Trigger Ammo cleanup #6924

Open
LeXXik opened this issue Sep 8, 2024 · 0 comments
Open

Trigger Ammo cleanup #6924

LeXXik opened this issue Sep 8, 2024 · 0 comments

Comments

@LeXXik
Copy link
Contributor

LeXXik commented Sep 8, 2024

Similar to #6902 collision component system needs to clear static ammo objects, possibly allocated by any trigger:

if (typeof Ammo !== 'undefined' && !_ammoVec1) {
_ammoVec1 = new Ammo.btVector3();
_ammoQuat = new Ammo.btQuaternion();
_ammoTransform = new Ammo.btTransform();
}

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