Chris Andrew
|
15ac5e736a
|
#4903 Clarified z position documentation by linking to depth GO component.
|
2019-12-09 16:57:05 +00:00 |
|
Richard Davey
|
f18c6b5fda
|
Update CHANGELOG.md
|
2019-12-09 13:22:58 +00:00 |
|
Richard Davey
|
eb254f0c5c
|
If the Matter.Body config doesn't contain a position property, it will now default to using Vertices.centre(body.vertices) as the position. In most cases, this is what you need, so it saves having to pass it in the config object.
|
2019-12-09 13:22:55 +00:00 |
|
Richard Davey
|
ea3a0f8544
|
Update CHANGELOG.md
|
2019-12-09 12:52:09 +00:00 |
|
Richard Davey
|
c9adc01111
|
The Matter.PhysicsEditorParser has been updated so it no longer needs to set the render offsets, and instead uses the center of mass values.
|
2019-12-09 12:52:05 +00:00 |
|
Richard Davey
|
8f67dad4a5
|
Matter.setExistingBody , which is called interally whenever a Body is set on a Game Object, now uses the new centerOffset values to ensure that the texture frame is correctly centered based on the center of mass, not the Body bounds, allowing for much more accurate body to texture mapping with complex multi-part compound bodies.
|
2019-12-09 12:51:26 +00:00 |
|
Richard Davey
|
53314ca435
|
The Matter.Mass.centerOfMass component property now returns the pre-calculated Body centerOfMass property, which is much more accurate than the previous bounds offset value.
|
2019-12-09 12:49:55 +00:00 |
|
Richard Davey
|
9f012ebf86
|
Matter.Transform.centerOffsetX is a new read-only property available on all Matter Game Objects that returns the horizontal offset between the center of the frame and the center of mass. This can be used to allow for accurately mapping texture centers to the body center.
|
2019-12-09 12:48:51 +00:00 |
|
Richard Davey
|
50b511e872
|
Matter.Body.centerOfMass is a new property added to the Matter Body object that retains the center of mass coordinates when the Body is first created.
|
2019-12-09 12:45:44 +00:00 |
|
Richard Davey
|
7ae124ff6e
|
Docs fix.
|
2019-12-09 08:57:24 +00:00 |
|
Richard Davey
|
44ff20d07e
|
Added deltaXFinal and deltaYFinal methods.
|
2019-12-09 08:55:37 +00:00 |
|
Richard Davey
|
074c91c43a
|
Update README.md
Added new Cerebralfix logo - thanks guys :)
|
2019-12-05 11:14:36 +00:00 |
|
Richard Davey
|
e98a639caa
|
Update CHANGELOG.md
|
2019-12-04 03:52:04 +00:00 |
|
Richard Davey
|
a123faafdc
|
Added new intersects, overlap and collision filter methods.
|
2019-12-04 03:52:00 +00:00 |
|
Richard Davey
|
e7cac4ebe9
|
Removed old config values and now handles opacity properly
|
2019-12-04 03:14:06 +00:00 |
|
Richard Davey
|
aeb3d5af06
|
Removed old properties and added new ones
|
2019-12-04 03:13:44 +00:00 |
|
Richard Davey
|
22baba0749
|
Updated custom render properties
|
2019-12-04 03:13:02 +00:00 |
|
Richard Davey
|
59749ab519
|
Skip matching a body against itself
|
2019-12-04 03:12:46 +00:00 |
|
Richard Davey
|
9b8ce1b8e3
|
Adjust Resolver properties from matter config
|
2019-12-03 16:56:29 +00:00 |
|
Richard Davey
|
75e2f76f8f
|
Update Collision.js
|
2019-12-03 16:56:16 +00:00 |
|
Richard Davey
|
76c81e19c3
|
Moved the render style methods to World and use them as part of the event proxy
|
2019-12-03 14:48:04 +00:00 |
|
Richard Davey
|
ad4c982bee
|
Update CHANGELOG.md
|
2019-12-03 14:06:34 +00:00 |
|
Richard Davey
|
7d2f3b33b5
|
Added setBodyRenderStyle and setConstraintRenderStyle methods.
|
2019-12-03 14:06:32 +00:00 |
|
Richard Davey
|
c299b02542
|
Update MatterCollisionEvents.js
|
2019-12-03 14:06:15 +00:00 |
|
Richard Davey
|
9a0218b3da
|
Fixed line style and updated parameter names.
|
2019-12-03 14:06:10 +00:00 |
|
Richard Davey
|
f050b148ec
|
Rewrote plugin to tidy it up.
|
2019-12-03 10:43:35 +00:00 |
|
Richard Davey
|
00883455a8
|
Update CHANGELOG.md
|
2019-12-02 19:21:11 +00:00 |
|
Richard Davey
|
e0ae756f0d
|
Add the new collision events plugin.
|
2019-12-02 19:21:04 +00:00 |
|
Richard Davey
|
ca293d710f
|
Proxy the add and remove events and better handle debug draw injection.
|
2019-12-02 19:20:54 +00:00 |
|
Richard Davey
|
bdbd74917a
|
Added missing plugin configs.
|
2019-12-02 19:20:24 +00:00 |
|
Richard Davey
|
b38668eb5f
|
Finished all the JSDocs, exposed all Matter modules and added the new point checking methods.
|
2019-12-02 19:20:13 +00:00 |
|
Richard Davey
|
d75fb5b918
|
Removed un-used render properties and added new ones
|
2019-12-02 19:19:42 +00:00 |
|
Richard Davey
|
c32368e03e
|
Added the new ADD and REMOVE Matter World events
|
2019-12-02 19:19:21 +00:00 |
|
Richard Davey
|
3c84c33a4b
|
Update CHANGELOG.md
|
2019-12-02 15:07:47 +00:00 |
|
Richard Davey
|
b71d4059a7
|
100% JSDoc'd!
|
2019-12-02 15:07:44 +00:00 |
|
Richard Davey
|
4f8dd24df2
|
Handle legacy configs for now.
|
2019-11-28 16:19:03 +00:00 |
|
Richard Davey
|
2a4dadf3a7
|
Update MatterWorldConfig.js
|
2019-11-28 16:18:53 +00:00 |
|
Richard Davey
|
8a844fc4d3
|
Create MatterDebugConfig.js
|
2019-11-28 16:18:49 +00:00 |
|
Richard Davey
|
5c61273184
|
Update CHANGELOG.md
|
2019-11-28 16:18:44 +00:00 |
|
Richard Davey
|
f126f28121
|
Split out the debug rendering process into single methods, so they can be called externally if required
|
2019-11-28 10:43:26 +00:00 |
|
Richard Davey
|
352863d664
|
Bump to 3.22
|
2019-11-28 10:43:02 +00:00 |
|
Richard Davey
|
7607bee0af
|
Update CHANGELOG.md
|
2019-11-27 17:49:41 +00:00 |
|
Richard Davey
|
65008266d6
|
Fixed worldConstraint
|
2019-11-27 17:49:38 +00:00 |
|
Richard Davey
|
4a1b9691c8
|
Custom render values set?
|
2019-11-27 17:49:30 +00:00 |
|
Richard Davey
|
3d46304b6a
|
Final new debug config added
|
2019-11-27 17:49:21 +00:00 |
|
Richard Davey
|
7b280e4fb2
|
Redoing debug config
|
2019-11-26 16:39:34 +00:00 |
|
Richard Davey
|
7e4577556c
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2019-11-26 14:31:37 +00:00 |
|
Richard Davey
|
7650c5535f
|
BitmapText with a maxWidth set wouldn't update the text correctly if it was modified post-creation. You can now update the text and/or width independantly and it'll update correctly. Fix #4881
|
2019-11-26 14:31:27 +00:00 |
|
Richard Davey
|
2386d4d98c
|
Merge pull request #4882 from fselcukcan/patch-1
changed L12 `"pointerup"` to `"pointerout"`
|
2019-11-26 14:05:09 +00:00 |
|
Richard Davey
|
409a5eb592
|
3.21.1
|
2019-11-26 14:04:52 +00:00 |
|