-
Notifications
You must be signed in to change notification settings - Fork 330
Open
Description
Getting this error (seemingly) randomly:
TypeError: Cannot read property 'overlaps' of undefined
at Function.Broadphase.aabbCheck (/root/dinogen-mp/node_modules/p2/src/collision/Broadphase.js:92:27)
at NaiveBroadphase.Broadphase.boundingVolumeCheck (/root/dinogen-mp/node_modules/p2/src/collision/Broadphase.js:110:29)
at NaiveBroadphase.getCollisionPairs (/root/dinogen-mp/node_modules/p2/src/collision/NaiveBroadphase.js:41:53)
at World.internalStep (/root/dinogen-mp/node_modules/p2/src/world/World.js:632:29)
at World.step (/root/dinogen-mp/node_modules/p2/src/world/World.js:543:18)
Any ideas as to what causes this?
It only happens when using p2 through the npm module, and not with the version included in Phaser 2 CE, which I'm using client side.
Metadata
Metadata
Assignees
Labels
No labels