Skip to content

Commit 0088345

Browse files
committed
Update CHANGELOG.md
1 parent e0ae756 commit 0088345

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,32 @@
4242
* Due to the rewrite of the debug rendering, it is now possible to render _just_ constraints, where-as before this was only possible if bodies were being rendered as well. Fix #4880 (thanks @roberto257)
4343
* The method `World.fromPath` has been removed. This was never used internally and you can get the same results by calling `Vertices.fromPath`.
4444
* The `World.setBounds` argument `thickness` now defaults to 64, not 128, to keep it matching the Matter World Config.
45+
* `World.getAllBodies` is a new method that will return all bodies in the Matter World.
46+
* `World.getAllConstraints` is a new method that will return all constraints in the Matter World.
47+
* `World.getAllComposites` is a new method that will return all composites in the Matter World.
48+
* `MatterPhysics.composite` is a new reference to the `Matter.Composite` module for each access from within a Scene.
49+
* `MatterPhysics.detector` is a new reference to the `Matter.Dectector` module for each access from within a Scene.
50+
* `MatterPhysics.grid` is a new reference to the `Matter.Grid` module for each access from within a Scene.
51+
* `MatterPhysics.pair` is a new reference to the `Matter.Pair` module for each access from within a Scene.
52+
* `MatterPhysics.pairs` is a new reference to the `Matter.Pairs` module for each access from within a Scene.
53+
* `MatterPhysics.query` is a new reference to the `Matter.Query` module for each access from within a Scene.
54+
* `MatterPhysics.resolver` is a new reference to the `Matter.Resolver` module for each access from within a Scene.
55+
* `MatterPhysics.sat` is a new reference to the `Matter.SAT` module for each access from within a Scene.
56+
* `MatterPhysics.constraint` is a new reference to the `Matter.Constraint` module for each access from within a Scene.
57+
* `MatterPhysics.composites` is a new reference to the `Matter.Composites` module for each access from within a Scene.
58+
* `MatterPhysics.axes` is a new reference to the `Matter.Axes` module for each access from within a Scene.
59+
* `MatterPhysics.bounds` is a new reference to the `Matter.Bounds` module for each access from within a Scene.
60+
* `MatterPhysics.svg` is a new reference to the `Matter.Svg` module for each access from within a Scene.
61+
* `MatterPhysics.vector` is a new reference to the `Matter.Vector` module for each access from within a Scene.
62+
* `MatterPhysics.vertices` is a new reference to the `Matter.Vertices` module for each access from within a Scene.
63+
* `BEFORE_ADD` is a new Event dispatched by `Matter.World` when a Body or Constraint is about to be added to the World.
64+
* `AFTER_ADD` is a new Event dispatched by `Matter.World` when a Body or Constraint has been added to the World.
65+
* `BEFORE_REMOVE` is a new Event dispatched by `Matter.World` when a Body or Constraint is about to be removed from the World.
66+
* `AFTER_REMOVE` is a new Event dispatched by `Matter.World` when a Body or Constraint has been removed from the World.
67+
* The `Body.render.fillStyle` property that existed on the Matter Body object has been removed and replaced with `fillColor`.
68+
* The `Body.render.strokeStyle` property that existed on the Matter Body object has been removed and replaced with `strokeColor`.
69+
* `MatterPhysics.containsPoint` is a new method that will let you check to see if a Body, or an array of Bodies, contains the given point or not.
70+
* `MatterPhysics.getBodiesBelowPoint` is a new method that will return an array of all bodies in the World that have vertices that contain the given point.
4571

4672
### Updates
4773

0 commit comments

Comments
 (0)