0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2025-01-13 16:18:50 -05:00
Commit graph

97 commits

Author SHA1 Message Date
Brice Chevalier
b3220cf3e8 Optimized Body's hidden class 2017-11-25 00:32:46 +09:00
liabru
774d8bccff fix lint errors 2017-07-06 23:36:39 +01:00
liabru
56b0bb463f Merge branch 'constraint-fixes'
* constraint-fixes: (31 commits)
  tweaked Example.doublePendulum
  added Composite.bounds
  upgraded matter-wrap
  added Examples.ragdoll
  upgraded matter-tools
  fixed various constraints in examples
  improved spring and pin rendering
  update alpha build
  added Example.constraints
  added constraint.render.type and constraint.render.anchor
  update alpha build
  added constraint damping
  update alpha build
  changed lint rules
  added Example.doublePendulum
  added rotation point parameter to Body.rotate, closes #410
  fix constraint.angularStiffness
  fix soft body stiffness
  fixed Examples.compound constraint offset
  improved Example.chains using pin constraint
  ...
2017-07-06 23:03:05 +01:00
liabru
79ffcf891e added Composite.bounds 2017-07-06 21:51:23 +01:00
liabru
d2af721c49 updated license and contributing 2017-05-09 00:46:03 +01:00
liabru
d63b0c25c8 removed Common.shadeColor 2017-05-09 00:40:16 +01:00
liabru
749ed5066e added rotation point parameter to Body.rotate, closes #410 2017-05-04 00:31:56 +01:00
liabru
b3533937d4 added body.plugin, composite.plugin, constraint.plugin, engine.plugin properties 2017-01-24 20:33:37 +00:00
liabru
719ad649fe changed default render styles 2017-01-19 23:36:19 +00:00
liabru
a815ce4d0a fix Body.setStatic(body, false), closes #187 2016-12-04 23:54:07 +00:00
liabru
0e5a4579b6 fixed Body.create with no options 2016-11-03 00:43:07 +00:00
liabru
d4d64edaa1 improved logging 2016-08-04 00:14:10 +01:00
liabru
ad033f5255 added note in docs about vertices order 2016-06-25 18:02:06 +01:00
liabru
afd7531fe4 added readonly to docs for type property, closes #235 2016-04-18 00:17:05 +01:00
liabru
f428d6be58 fix Body.scale for circles, closes #234 2016-04-07 19:50:07 +01:00
liabru
e1a52d59aa Merged sensors from Misiur-master 2016-04-05 23:54:40 +01:00
Mikko Rantanen
5054c9717c Document World bounds and Grid bucket size.
Added jsdoc comments for the following properties:

- `world.bounds`
- `grid.bucketWidth`
- `grid.bucketHeight`
2016-04-02 13:49:43 +03:00
liabru
adcb610f05 added docs for body.render.opacity 2016-02-07 15:21:53 +00:00
MatteoAvalle
5b755a1a62 Adding the opacity attribute to be able to draw semi-transarent sprites
Just a really simple commit adding a tiny feature I think it could be useful
while, at the same time, it seems even too tiny to specifically build a
custom render just to include it.
2016-02-05 11:24:58 +01:00
liabru
a38b22721c change gravity scale to variable rather than a constant 2015-12-29 22:50:24 +00:00
Marcin Misiurski
28084b005a Change permeable name to sensors, add isSensor to Pair 2015-12-28 21:38:09 +01:00
Marcin Misiurski
6e7add16bf Add permeability example and doc entry 2015-12-28 21:36:52 +01:00
Marcin Misiurski
1573359354 Add permeable objects 2015-12-28 21:36:51 +01:00
liabru
2e6afd477a improved docs 2015-12-27 21:14:24 +00:00
liabru
500d566772 fix Demo.reset to fully reset ids 2015-12-25 15:57:27 +00:00
liabru
3f9364c240 fixed issue with Body.applyForce torque, closes #64 2015-12-23 13:41:11 +00:00
liabru
3de9d00b8e added sprite offsets relative to centre of mass, closes #153 2015-12-05 20:26:49 +00:00
liabru
99c3bb3273 move require statements below module export 2015-08-13 23:03:08 +01:00
liabru
00251e5b04 use browserify 2015-06-04 20:54:50 +01:00
liabru
bc26469df2 added body sleepStart and sleepEnd events, closes #91 2015-05-24 15:56:54 +01:00
liabru
42dc72dabe Merge branch 'pr/60'
[liabru] corrected some of the param types before merge

Conflicts:
	src/body/Body.js
	src/collision/Resolver.js
	src/render/Render.js
	src/render/RenderPixi.js
2015-05-24 13:43:34 +01:00
liabru
8b5192d04d change world.bounds to Infinity, remove world bounds check from Engine, closes #67 2015-05-20 23:29:35 +01:00
liabru
200fcbe652 added docs 2015-05-20 20:26:39 +01:00
liabru
937c7bfcb6 improved friction, added body.frictionStatic 2015-05-03 15:50:38 +01:00
liabru
e01dd229a9 fixed compound body stability, improved position resolver 2015-04-08 20:31:03 +01:00
liabru
9d3755ab6e fix issue of undefined body.parts in constructor 2015-03-03 23:43:24 +00:00
liabru
90adf147e9 implemented static compound bodies 2015-02-28 16:58:00 +00:00
liabru
87f90655b7 fixes for compound bodies 2015-02-04 23:26:13 +00:00
liabru
0b8efa5c40 added Demo.concave, added Bodies.fromVertices, added Vertices.isConvex, fixed compound properties 2015-02-01 22:55:24 +00:00
liabru
d2f79b4689 further work on compound implementation 2015-02-01 13:57:56 +00:00
liabru
f554d6c9a6 implemented compound bodies, added Body.setParts 2015-02-01 00:03:40 +00:00
liabru
243fce47c9 initial work on compound bodies 2015-01-29 23:25:58 +00:00
liabru
b3921fb72e added Matter.World extends Matter.Composite to docs 2015-01-25 15:14:51 +00:00
PlNG
25ab2a39b0 Update JSDoc
This might need fixing later, I don't know if I did it right.
2015-01-20 11:49:14 -05:00
PlNG
723ddcf572 Spellchecking 2015-01-20 11:07:44 -05:00
PlNG
3127654b41 Spellchecking 2015-01-20 11:07:26 -05:00
liabru
9aa0945f03 removed Body.resetForcesAll, removed Body.applyGravityAll, removed Body.updateAll 2015-01-19 00:30:06 +00:00
liabru
d249165ea9 added Body.nextCategory 2015-01-01 18:30:16 +00:00
liabru
5888ffcaf6 cleanup 2015-01-01 17:52:18 +00:00
liabru
235b6c8336 added Body.set 2014-12-28 18:35:01 +00:00