0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-11-30 10:20:52 -05:00
Commit graph

34 commits

Author SHA1 Message Date
liabru
7ed28f7b8c added Body.setPosition, Body.setAngle, Body.setVelocity, Body.setAngularVelocity 2014-06-03 17:30:17 +01:00
liabru
73ded98a67 fixed Body.setVertices 2014-06-03 17:28:01 +01:00
liabru
9a55b0c902 fixed critical inertia calculation issue, a potential breaking change, so Body._inertiaScale added to try preserve previous behaviour 2014-06-03 15:54:21 +01:00
liabru
2d04389c84 changed Body._initProperties to use Body.setVertices 2014-06-03 15:48:12 +01:00
liabru
b6dbb259ab added Body.setVertices and Vector.clone 2014-06-03 15:47:00 +01:00
liabru
e3e462e64c changed Vertices.create and Vertices.fromPath to create and return a new array rather than apply in-place 2014-06-03 14:02:12 +01:00
liabru
3a16f90404 fixed issue with docs 2014-06-03 13:46:23 +01:00
liabru
2317f02fb4 improved docs 2014-05-20 14:15:39 +01:00
liabru
186d839942 fixed more issues with timing.timeScale 2014-05-04 15:12:23 +01:00
liabru
f1db9df854 removed body.render.path 2014-05-02 19:08:01 +01:00
liabru
5f3e69cb70 fixed Body.setStatic 2014-04-30 12:13:37 +01:00
liabru
964898bea2 added Composite.rebase 2014-04-29 17:34:45 +01:00
liabru
cb7cb9583a added Common.nextId, removed Body.nextId, removed Constraint.nextId, removed Composite.nextId 2014-04-29 17:34:28 +01:00
liabru
23a0fce2c0 appease jshint 2014-04-29 15:29:21 +01:00
liabru
f80866c6de Matter.Composite tweaks 2014-04-28 17:25:49 +01:00
liabru
2c601093bf added Composite.move 2014-04-28 17:02:28 +01:00
liabru
e8f5b221f5 better default labels 2014-04-25 17:22:25 +01:00
liabru
a59abed8ec added labels to bodies, constraints and composites 2014-04-25 16:56:59 +01:00
liabru
e1b6f9ba5a added Composite.get 2014-04-25 16:56:06 +01:00
liabru
7694b7d4f8 removed Body.updateProperties (now a private method) 2014-04-23 16:54:35 +01:00
liabru
8acfdb7f38 added Body.setStatic 2014-04-23 16:51:14 +01:00
liabru
1f11af9edb added Body.scale 2014-04-23 16:40:48 +01:00
liabru
613e63699b added per-body timeScale 2014-04-23 14:08:57 +01:00
liabru
b421c38f74 optimisation for non-rotating bodies 2014-03-31 11:38:43 +01:00
liabru
b24408635a improved constraint performance 2014-03-30 18:21:40 +01:00
liabru
473e7de6e0 added default scale to sprites 2014-03-27 14:38:59 +00:00
liabru
203179d526 removed default MouseConstraint from engine, now must be manually added by user (see demo) 2014-03-26 11:53:41 +00:00
liabru
3dfe9b553e composites now have generic multi add / remove methods 2014-03-25 15:18:54 +00:00
liabru
b253683cb5 composites now support removals (implemented isModified flag) 2014-03-24 19:48:23 +00:00
liabru
2d52d53bf0 composites are now an actual tree structure 2014-03-24 00:30:16 +00:00
liabru
433a1f9b4e bodies now have a 'render' object property
sprites implemented
backgrounds implemented
2014-03-13 00:21:31 +00:00
liabru
6f5e0d0036 separated gravity function, applying forces now wakes sleeping bodies 2014-03-10 21:12:14 +00:00
liabru
1c1c21b919 added jsdoc annotation to all src files 2014-02-28 18:15:01 +00:00
liabru
c80fe7f3f9 initial commit 2014-02-19 14:15:05 +00:00