lance
lance copied to clipboard
documentation: document events collisionStart and collisionStop
documentation: document events collisionStart and collisionStop
From the slack conversation:
collisionStart and collisionStop are emitted only by one physics engine at this time: SimplePhysicsEngine. The registered event handlers will be passed a single argument, an object containing two keys o1 and o2. The values correspond to the two object IDs that collided.