wmurphyrd / aframe-physics-extras

🔧Cannon API interface components the A-Frame Physics System
MIT License
27 stars 9 forks source link

physics-collider crash if removing an entity from the scene that it is currently colliding with #8

Closed InfiniteLee closed 6 years ago

InfiniteLee commented 6 years ago
TypeError: worldBodyMap[(worldCollisions[i] & lowerMask)] is undefined[Learn More] physics-collider.js:53
    .tick physics-collider.js:53
    value aframe-master.js:76328
    value aframe-master.js:76376:29
    bound aframe-master.js:79682

Repro: https://glitch.com/edit/#!/modern-harmonica?path=index.html