addContactMaterial(material) → {Phaser.Physics.P2.ContactMaterial}
Adds a Contact Material to the world.
Parameters
Name | Type | Description |
---|---|---|
material | Phaser.Physics.P2.ContactMaterial | The Contact Material to be added to the World. |
Returns
The Contact Material that was added.
- Source code: physics/p2/World.js (Line 1153)
Please login to continue.