Physics.P2#addContactMaterial()

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)
doc_phaser
2017-02-14 11:00:48
Comments
Leave a Comment

Please login to continue.