Update MatterCollisionPair.js

Changed `activeContacts` to `contacts`
This commit is contained in:
Zeke Chan 2024-06-27 17:05:39 +08:00
parent ea48bcf491
commit 0458e4ab01

View file

@ -5,7 +5,7 @@
* @property {string} id - The unique auto-generated collision pair id. A combination of the body A and B IDs.
* @property {MatterJS.BodyType} bodyA - A reference to the first body involved in the collision.
* @property {MatterJS.BodyType} bodyB - A reference to the second body involved in the collision.
* @property {MatterJS.Vector[]} activeContacts - An array containing all of the active contacts between bodies A and B.
* @property {MatterJS.Vector[]} contacts - An array containing all of the active contacts between bodies A and B.
* @property {number} separation - The amount of separation that occurred between bodies A and B.
* @property {boolean} isActive - Is the collision still active or not?
* @property {boolean} confirmedActive - Has Matter determined the collision are being active yet?