Richard Davey
|
4e18d35098
|
Fixed doc types
|
2023-04-04 17:55:56 +01:00 |
|
Richard Davey
|
8adbb15c13
|
Added new Matter Body methods (velocity and speed)
|
2023-04-04 15:05:42 +01:00 |
|
Richard Davey
|
468bf7821d
|
Updated copyright year
|
2023-01-02 17:36:27 +00:00 |
|
Richard Davey
|
2a8250ef60
|
Modified return types to 'this'
|
2022-11-03 16:03:51 +00:00 |
|
Richard Davey
|
59fbcc5ca3
|
Updated copyright year
|
2022-02-28 14:29:51 +00:00 |
|
Richard Davey
|
74fd1531bc
|
Matter.Components.Sleep.setToSleep and setAwake were documented as returning this , however they didn't return anything. Both now return this correctly. Fix #5567
|
2021-02-17 13:08:24 +00:00 |
|
Erik Demaine
|
3accf46223
|
Fix setPolygon documentation
The order of arguments in `Body.setPolygon`'s documentation was the opposite from the actual code.
|
2021-01-22 20:13:25 -05:00 |
|
Richard Davey
|
07865a5823
|
Final set of namespace changes. Fix #5062
|
2020-09-01 20:28:42 +01:00 |
|
Richard Davey
|
ff65e69cd1
|
Changed copyright date to 2020
|
2020-01-15 12:07:09 +00:00 |
|
Richard Davey
|
f15ef8648e
|
Lots of type fixes
|
2020-01-14 17:11:07 +00:00 |
|
Richard Davey
|
271e4e3943
|
Use FuzzyEquals for safety
|
2020-01-13 11:33:21 +00:00 |
|
Richard Davey
|
cf1e4645f3
|
Ignore if CoM is 0.5
|
2020-01-10 18:05:20 +00:00 |
|
Richard Davey
|
f90d679d22
|
Added setToSleep and setAwake methods
|
2020-01-10 17:39:40 +00:00 |
|
Richard Davey
|
d884fd0468
|
Handle scaled bodies properly
|
2020-01-10 17:03:50 +00:00 |
|
Richard Davey
|
8b1cc40a23
|
SetBody can now use JSON data natively
|
2020-01-10 16:24:40 +00:00 |
|
Richard Davey
|
4e53d74581
|
Removed un-used properties
|
2020-01-10 11:20:41 +00:00 |
|
Richard Davey
|
ea338cadaa
|
Fixed JSDocs and origin assignment.
|
2020-01-10 08:56:31 +00:00 |
|
Richard Davey
|
5c9c00bfdb
|
Removed un-used code.
|
2020-01-10 08:56:17 +00:00 |
|
Richard Davey
|
d63001d719
|
Testing offsets
|
2020-01-09 17:55:03 +00:00 |
|
Richard Davey
|
4de6f17a38
|
Formatted docs
|
2020-01-09 13:17:43 +00:00 |
|
Richard Davey
|
ae8bfbc013
|
Added missing JSDocs
|
2020-01-08 12:15:29 +00:00 |
|
Richard Davey
|
beefcf09b6
|
Added jsdocs
|
2020-01-05 23:54:08 +00:00 |
|
Richard Davey
|
c5675ae171
|
Added jsdocs
|
2020-01-05 23:47:25 +00:00 |
|
Richard Davey
|
ba4c82e140
|
Added jsdocs
|
2020-01-04 12:27:04 +00:00 |
|
Richard Davey
|
5e027f7031
|
Added JSDocs
|
2020-01-02 16:45:28 +00:00 |
|
Richard Davey
|
58c8efc2e5
|
Added jsdocs
|
2020-01-01 17:33:45 +00:00 |
|
Richard Davey
|
e6b43a2f48
|
Improves jsdocs
|
2019-12-17 18:03:23 +00:00 |
|
Richard Davey
|
efcbd1e4e5
|
Added helper methods for setting body collision callbacks
|
2019-12-17 16:42:46 +00:00 |
|
Richard Davey
|
d260643c61
|
Stricter checks against body removal and addition
|
2019-12-17 13:07:16 +00:00 |
|
Richard Davey
|
819a6b20ae
|
Walking through Matter compare merge
|
2019-12-16 17:12:12 +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
|
75e2f76f8f
|
Update Collision.js
|
2019-12-03 16:56:16 +00:00 |
|
Richard Davey
|
c91ed91ce3
|
License link update
|
2019-05-10 16:15:04 +01:00 |
|
Richard Davey
|
b50e1c78b5
|
Lots more jsdoc tweaks and improvements
|
2019-02-12 15:01:54 +00:00 |
|
Richard Davey
|
8b35743943
|
Matter Events added
|
2019-01-17 15:47:27 +00:00 |
|
Richard Davey
|
aa341854c7
|
Happy New Year
|
2019-01-15 16:20:22 +00:00 |
|
Richard Davey
|
cc55ee73cf
|
Changing scaleX or scaleY on a MatterImage or MatterSprite would cause the body scale to become distorted as the setters didn't use the correct factor when resetting the initial scale. Fix #4206
|
2018-12-12 12:07:16 +00:00 |
|
Richard Davey
|
2780babe10
|
Final Doc Jam merge
|
2018-12-03 15:16:23 +00:00 |
|
Richard Davey
|
4c4421c47f
|
Docjam merge
|
2018-10-19 12:32:43 +01:00 |
|
Richard Davey
|
a9063604dc
|
Replace @readOnly with @readonly
|
2018-10-09 13:40:00 +01:00 |
|
Richard Davey
|
c237209bb8
|
Added new jsdocs
|
2018-09-28 12:19:21 +01:00 |
|
Richard Davey
|
534814adb0
|
Merge pull request #4065 from rgk/patch-4
Matter.js Force Component Docs
|
2018-09-28 11:03:34 +01:00 |
|
Richard Davey
|
9c5876ffb0
|
Skip conditional if fromVerts given. Correctly set parts reference.
|
2018-09-26 14:15:38 +01:00 |
|
Robert Kowalski
|
bf38ce9fd4
|
Revsions based on Comments
Updated, better?
|
2018-09-25 11:31:18 -04:00 |
|
Robert Kowalski
|
0020745544
|
Quick space.
|
2018-09-25 07:15:11 -04:00 |
|
Robert Kowalski
|
185b19787e
|
Matterjs Gravity Component Doc
|
2018-09-25 07:14:32 -04:00 |
|
Robert Kowalski
|
5d0d84fe55
|
Matter.js Force Component Docs
Checking if I did this well before I start jumping into multiple files.
|
2018-09-25 04:46:30 -04:00 |
|
Richard Davey
|
89b9f42f3e
|
Adding jsdocs
|
2018-09-24 23:20:43 +01:00 |
|