0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-12-25 13:39:06 -05:00
Commit graph

968 commits

Author SHA1 Message Date
liabru
db7c4a1342 move substeps to another branch 2022-09-02 20:36:11 +01:00
liabru
66e291b57d refactor body base delta constant 2022-09-02 20:29:35 +01:00
liabru
dc46472720 rename internal Common._timeUnit to Common._baseDelta 2022-09-02 17:59:15 +01:00
liabru
36575b3438 refactor and tidy 2022-09-02 17:25:01 +01:00
liabru
cce3152664 refactor Resolver.solvePosition damping argument 2022-09-02 17:18:02 +01:00
liabru
ee7b00897d clamp resolver slop 2022-08-07 17:22:04 +01:00
liabru
9dc6be78f6 improve delta factors in resolver and constraint stiffness 2022-08-07 00:11:16 +01:00
liabru
c6a1a6d54d improve slingshot example constraint 2022-08-06 23:35:15 +01:00
liabru
1b4e288488 Merge branch 'master' into timing-improve
* master:
  increase overlap test updates
  added readme note about vue watchers
  increase test timeout
  remove travis config
  added ci workflow action
2022-08-06 09:52:08 +01:00
liabru
8ca9cb4fa4 increase overlap test updates 2022-08-06 09:49:30 +01:00
liabru
07d13fe903 improve delta factors in resolver and constraint stiffness 2022-08-05 23:41:24 +01:00
liabru
a5729684d1 remove unused delta params 2022-08-05 16:27:47 +01:00
liabru
50fc8f2047 improve Matter.Engine docs 2022-07-27 20:53:28 +01:00
liabru
85a9eb2df5 improve Matter.Body docs for functions and properties including readonly 2022-07-27 20:51:03 +01:00
liabru
035481ce46 added readme note about vue watchers 2022-07-27 15:36:41 +01:00
liabru
3ff6ff4372 added speed setters to Body.set 2022-01-06 11:11:26 +00:00
liabru
6579dfd83e use speed getter in Matter.Sleeping and Matter.Render 2022-01-06 11:10:05 +00:00
liabru
b6de9ed8c5 derive velocity from position in setters 2022-01-05 23:13:46 +00:00
liabru
fe985288d6 tidy and refactor 2022-01-04 14:18:35 +00:00
liabru
fda962f2dc added Body.timeUnit 2022-01-04 14:17:37 +00:00
liabru
181d08bbf7 add docs for Matter.Body velocity properties including unit details 2022-01-04 11:05:09 +00:00
liabru
db780c371c update Matter.Body docs 2022-01-04 11:03:08 +00:00
liabru
70600a8c11 changed engine collisionStart event to trigger after resolving and after updating body velocities 2022-01-04 10:54:34 +00:00
liabru
d52f7e6dcf update body velocity properties after resolving 2022-01-04 10:52:37 +00:00
liabru
7130c4ae80 refactor resolver friction multiplier 2022-01-03 21:30:23 +00:00
liabru
87af8a1740 improved delta consistency 2022-01-01 21:20:52 +00:00
liabru
11d5e73c1f update Example.staticFriction and Example.timeScale 2022-01-01 19:42:30 +00:00
liabru
5ddac71316 update Example.manipulation 2021-12-31 11:06:49 +00:00
liabru
ec38638711 update Example.ragdoll 2021-12-30 23:57:30 +00:00
liabru
b2bd492d05 improved Example.newtonsCradle 2021-12-29 23:08:46 +00:00
liabru
014ef77d1e increase test timeout 2021-12-26 21:57:51 +00:00
liabru
e553779dbc remove travis config 2021-12-26 21:57:37 +00:00
liabru
2d483c1a97
added ci workflow action 2021-12-26 21:41:33 +00:00
liabru
bf90bdd38c use Body.getVelocity in Matter.Render 2021-12-26 16:58:49 +00:00
liabru
10a2a07ec2 update timing improvements 2021-12-23 12:43:40 +00:00
liabru
4230a8bec6 Merge branch 'master' into timing-improve
* master:
  added support for Matter.Runner and Matter.Render in tests
  remove render element warning
  deprecated render.controller property
  handle null constraint points in Constraint.pointAWorld and Constraint.pointBWorld
  improved error messages on tests
2021-12-23 10:41:57 +00:00
liabru
7d7bad0456 added support for Matter.Runner and Matter.Render in tests 2021-12-22 23:33:57 +00:00
liabru
459425b2a3 remove render element warning 2021-12-21 20:25:26 +00:00
liabru
04d229ebec deprecated render.controller property 2021-12-21 20:10:48 +00:00
liabru
e41446493c handle null constraint points in Constraint.pointAWorld and Constraint.pointBWorld 2021-12-21 20:09:01 +00:00
liabru
9393ecb5b2 improved error messages on tests 2021-12-20 21:22:43 +00:00
liabru
7fce5d861c Merge branch 'master' into timing-improve
* master: (123 commits)
  release 0.18.0
  prevent source map in demo builds
  updated test scripts
  added note about webpack performance to readme
  added benchmark test command
  increase iterations on Example.stress3
  add triangles to mixed bodies example
  added example for Composite.remove
  updated examples
  deprecated Matter.Grid
  added broadphase to Matter.Detector
  replaced Matter.SAT with Matter.Collision
  use force exit in tests
  added cache checks to Matter.Composite
  change raycasting example events to enable use in tests
  optimised collisions
  added Matter.Collision
  use Matter.Runner in test worker
  optimised Matter.Pairs
  optimised Resolver.solvePosition
  ...

# Conflicts:
#	examples/car.js
#	examples/manipulation.js
#	examples/ragdoll.js
#	examples/slingshot.js
#	examples/timescale.js
#	src/collision/Detector.js
#	src/collision/Resolver.js
#	src/collision/SAT.js
#	src/core/Engine.js
#	src/core/Runner.js
2021-12-20 18:52:58 +00:00
liabru
039212a56e release 0.18.0 2021-12-15 17:33:44 +00:00
liabru
f1ba9b583b prevent source map in demo builds 2021-12-15 17:29:18 +00:00
liabru
afa467aad6 updated test scripts 2021-12-15 10:59:11 +00:00
liabru
80cf76b40b added note about webpack performance to readme 2021-12-15 10:49:00 +00:00
liabru
7f34c4506e added benchmark test command 2021-12-15 09:58:31 +00:00
liabru
5c59bef62e increase iterations on Example.stress3 2021-12-15 09:57:51 +00:00
liabru
b116f64225 add triangles to mixed bodies example 2021-12-12 13:20:15 +00:00
liabru
bc07f56a94 added example for Composite.remove 2021-12-12 13:19:37 +00:00