wmurphyrd / aframe-physics-extras

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

Fix race condiiton with boides in physics-collider #12

Closed netpro2k closed 3 years ago

netpro2k commented 6 years ago

Not 100% clear on why this isn't broken in earleir versions of aframe but on the latest aframe master the initialization order is such that physics-collider seems broken. This same race condition would also happen on any version of aframe though if shape component was used, since the body exists on the element but is not yet added to the world.