removeConstraint(constraint) → {Phaser.Physics.P2.Constraint}
Removes a Constraint from the world.
Parameters
Name | Type | Description |
---|---|---|
constraint | Phaser.Physics.P2.Constraint | The Constraint to be removed from the World. |
Returns
Phaser.Physics.P2.Constraint -
The Constraint that was removed.
- Source code: physics/p2/World.js (Line 1136)
Please login to continue.