Physics.P2#removeContactMaterial()

removeContactMaterial(material) → {Phaser.Physics.P2.ContactMaterial}

Removes a Contact Material from the world.

Parameters
Name Type Description
material Phaser.Physics.P2.ContactMaterial

The Contact Material to be removed from the World.

Returns

The Contact Material that was removed.

Source code: physics/p2/World.js (Line 1170)
doc_phaser
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.