We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d67daa9 commit e448ec5Copy full SHA for e448ec5
1 file changed
src/physics/matter-js/World.js
@@ -284,6 +284,13 @@ var World = new Class({
284
return this;
285
},
286
287
+ removeConstraint: function (constraint, deep)
288
+ {
289
+ Composite.remove(this.localWorld, constraint, deep);
290
+
291
+ return this;
292
+ },
293
294
/**
295
* Adds MatterTileBody instances for all the colliding tiles within the given tilemap layer. Set
296
* the appropriate tiles in your layer to collide before calling this method!
0 commit comments