quinton-ashley / p5play

JavaScript game engine that uses q5.js/p5.js for graphics and Box2D for physics.
https://p5play.org
GNU Affero General Public License v3.0
667 stars 184 forks source link

[bug] addDefaultSensors not working if sprite has more than one collider #265

Closed quinton-ashley closed 1 year ago

quinton-ashley commented 1 year ago

This is due to sprite._sortFixtures being implemented wrong. I'll fix this soon.