Class: Phaser.Physics.P2.ContactMaterial
Constructor
new ContactMaterial(materialA, materialB, options)
Defines a physics material
Parameters
Name | Type | Argument | Description |
---|---|---|---|
materialA |
Phaser.Physics.P2.Material | First material participating in the contact material. |
|
materialB |
Phaser.Physics.P2.Material | Second material participating in the contact material. |
|
options |
object | <optional> |
Additional configuration options. |
- Source code: physics/p2/ContactMaterial.js ( Line 16)
© 2016 Richard Davey, Photon Storm Ltd.
Licensed under the MIT License.
http://phaser.io/docs/2.6.2/Phaser.Physics.P2.ContactMaterial.html