Commit graph

13890 commits

Author SHA1 Message Date
Richard Davey
acb1ecce6c Update CHANGELOG.md 2020-01-09 13:20:32 +00:00
Richard Davey
a8f3c3b9c0 New BodyBounds class for getting body bounds based coordinates 2020-01-09 13:18:44 +00:00
Richard Davey
fceef3ddf0 Added BodyBounds class 2020-01-09 13:18:24 +00:00
Richard Davey
d031d91f1e Added bodyBounds class, finished alignBody and fixed typedefs 2020-01-09 13:18:13 +00:00
Richard Davey
9aeead5cc2 New Body typedef 2020-01-09 13:17:56 +00:00
Richard Davey
4de6f17a38 Formatted docs 2020-01-09 13:17:43 +00:00
Richard Davey
cfa6eeb6e2 Finished alignBody method 2020-01-09 00:43:46 +00:00
Richard Davey
4d0618232b Only render compound bounds 2020-01-09 00:43:38 +00:00
Richard Davey
312f4dab10 Start of alignBody method 2020-01-08 17:44:02 +00:00
Richard Davey
83c5bc41fa Update CHANGELOG.md 2020-01-08 14:41:28 +00:00
Richard Davey
d6e0ba9b29 MatterPhysics.getConstraintLength is a new method that will return the length of the given constraint, as this is something you cannot get from the constraint properties directly. 2020-01-08 14:41:24 +00:00
Richard Davey
b8797de87a Update CHANGELOG.md 2020-01-08 12:15:32 +00:00
Richard Davey
ae8bfbc013 Added missing JSDocs 2020-01-08 12:15:29 +00:00
Richard Davey
2859eb6a68 Added new Set Body Config 2020-01-08 12:15:17 +00:00
Richard Davey
28a7ccab57 Update CHANGELOG.md 2020-01-08 11:55:38 +00:00
Richard Davey
4e8c676895 Full JSDocs coverage! 2020-01-08 11:55:35 +00:00
Richard Davey
49556021ef New constraint type defs 2020-01-08 11:55:24 +00:00
Richard Davey
0a376d6c6e Update CHANGELOG.md 2020-01-08 11:15:40 +00:00
Richard Davey
ac92fbe1b0 Lots of JSDoc updates. Also removed velocity and force methods as they don't belong in the Factory. 2020-01-08 11:15:30 +00:00
Richard Davey
86edd99248 inverseMass is a required property! Also removed duplicate jsdoc 2020-01-08 11:15:02 +00:00
Richard Davey
2ac0562fb6 Updated JSDocs 2020-01-08 11:14:40 +00:00
Richard Davey
6a8bce9250 Added essential new type defs 2020-01-08 11:14:26 +00:00
Richard Davey
0a6e696295 Update CHANGELOG.md 2020-01-08 01:50:54 +00:00
Richard Davey
b908ebdda2 Added fromSVG method 2020-01-08 01:50:51 +00:00
Richard Davey
08b30a2ec3 Update CHANGELOG.md 2020-01-07 23:57:11 +00:00
Richard Davey
e861ecf5a0 Emit the current and previous values 2020-01-07 23:57:08 +00:00
Richard Davey
1a69cd9e0f TweenData now stores its previous ease value. 2020-01-07 23:56:39 +00:00
Richard Davey
736fd6dfb9 Added TWEEN_UPDATE current and previous values 2020-01-07 23:56:15 +00:00
Richard Davey
279829b414 Added JSDocs 2020-01-07 17:54:47 +00:00
Richard Davey
868d599832 Added JSDocs 2020-01-07 17:31:41 +00:00
Richard Davey
99df00244b Reduced default anchor size 2020-01-07 17:31:29 +00:00
Richard Davey
8ac59f9773 Update CHANGELOG.md 2020-01-07 17:20:34 +00:00
Richard Davey
2b1ce933af The internal Matter Composite.setModified function will now emit a compositeModified event, which the Matter World listens for, if debug draw is enabled, so it can update the composite children render styles. 2020-01-07 17:20:31 +00:00
Richard Davey
f9738ab237 Update CHANGELOG.md 2020-01-07 16:38:16 +00:00
Richard Davey
a2c1377131 You can now set gravity: false in your Matter Config and it will reset gravity from the defaults to zero. 2020-01-07 16:38:13 +00:00
Richard Davey
070ea9585f Update CHANGELOG.md 2020-01-07 14:39:26 +00:00
Richard Davey
105fb64b4f Removed spaces 2020-01-07 14:39:22 +00:00
Richard Davey
a7c2a562be Update CHANGELOG.md 2020-01-07 14:02:42 +00:00
Richard Davey
2b66f81d28 Final config structure and values 2020-01-07 14:02:38 +00:00
Richard Davey
8527e10d64 Added renderCollisions and renderSeparations 2020-01-07 14:02:28 +00:00
Richard Davey
d4b6c54418 Update CHANGELOG.md 2020-01-07 12:56:33 +00:00
Richard Davey
c0e61cf2be Added renderBodyVelocity 2020-01-07 12:56:30 +00:00
Richard Davey
171ecb7fcc Update CHANGELOG.md 2020-01-07 12:39:42 +00:00
Richard Davey
1eec78375a Removed old comments 2020-01-07 12:39:38 +00:00
Richard Davey
334f17439e Update MatterDebugConfig.js 2020-01-07 12:39:31 +00:00
Richard Davey
ad1891cd8d Added renderBodyBounds and renderBodyAxes methods 2020-01-07 12:39:27 +00:00
Richard Davey
a938b6d597 Update CHANGELOG.md 2020-01-07 11:56:41 +00:00
Richard Davey
0a801cbac4 Added World.renderGrid method.
Renamed showBodyPosition to showPositions
2020-01-07 11:56:39 +00:00
Richard Davey
7aec93d1c3 Update CHANGELOG.md 2020-01-07 00:28:39 +00:00
Richard Davey
76d2c971f7 Added showSensor debug option 2020-01-07 00:28:37 +00:00