endContact return e.bodyA and e.bodyB is the same
as following in p2.js source code:
// Emit end overlap events
if(this.has('endContact')){
this.overlapKeeper.getEndOverlaps(endOverlaps);
var e = this.endContactEvent;
var l = endOverlaps.length;
while(l--){
var data = endOverlaps[l];
e.shapeA = data.shapeA;
e.shapeB = data.shapeB;
e.bodyA = data.bodyA;
e.bodyB = data.bodyA;// this may be "data.bodyB" ???
this.emit(e);
}
}
endContact return e.bodyA and e.bodyB is the same as following in p2.js source code: