Skip to content

Commit

Permalink
Don't call Ammo.destroy on a internal transform pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
kungfooman committed Sep 2, 2024
1 parent 6f077b6 commit 7b0c745
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/framework/components/collision/system.js
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,6 @@ class CollisionComponentSystem extends ComponentSystem {

transform.setRotation(ammoQuat);
Ammo.destroy(ammoQuat);
Ammo.destroy(origin);

return transform;
}
Expand Down

0 comments on commit 7b0c745

Please sign in to comment.