0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2025-01-01 14:38:38 -05:00
Commit graph

562 commits

Author SHA1 Message Date
liabru
e891d37b65 preserve pair.contacts order 2024-03-03 23:06:38 +00:00
liabru
89963f77a0 optimised Resolver.solvePosition 2024-03-03 21:48:05 +00:00
liabru
11b65ded96 Merge branch 'master' into performance-2 2024-02-11 21:33:34 +00:00
liabru
6d10c3d14e changed Composte.removeComposite and Composte.removeBody to reset body.sleepCounter 2023-11-25 14:04:56 +00:00
liabru
6f8a54b253 optimised Collision.collides 2023-11-14 21:01:43 +00:00
liabru
51f49ce9d3 fix collision events for sleeping pairs, closes #1077 2023-11-13 23:32:39 +00:00
liabru
7ec38a1f1c added pixel ratio scaling to render debug stats 2023-08-13 18:59:33 +01:00
liabru
e9da32c886 added local pairs functions in Pairs.update 2023-08-13 16:09:57 +01:00
liabru
72bc203c27 removed pair.confirmedActive 2023-08-13 14:54:30 +01:00
liabru
5b6f30b08c changed Pair.id format to use shorter ids 2023-07-23 14:08:35 +01:00
liabru
182ba905d4 optimised Resolver.solveVelocity 2023-07-23 13:50:26 +01:00
liabru
97d502ea97 optimised contacts and supports memory and gc use 2023-07-23 12:50:21 +01:00
liabru
f9208df1db optimised pairs and collisions memory and gc use 2023-07-23 12:18:03 +01:00
liabru
4c56e5b11d removed Collision._projectToAxis 2023-07-23 11:22:59 +01:00
liabru
653a110d64 optimised Collision._findSupports 2023-07-23 11:20:28 +01:00
liabru
2ecc563c3f fixed Runner.stop docs re. runner.enabled, closes #586, closes #1054 2023-03-27 00:29:16 +01:00
liabru
401553d7e8 added render.options.wireframeStrokeStyle, closes #406 2023-03-27 00:09:12 +01:00
liabru
2af54d51cd added event.timestamp and event.delta to collision events, closes #368 2023-03-26 23:46:38 +01:00
liabru
96557859f9 fixed Body.setStatic when applied multiple times, closes #641 2023-03-26 23:19:31 +01:00
liabru
fc0583975d added Render.setSize, closes #955, closes #595 2023-03-26 22:26:09 +01:00
liabru
013698bc29 improved body.parts docs 2023-03-25 14:24:43 +00:00
liabru
411af068c2 improved body.parts docs 2023-03-19 23:33:48 +00:00
liabru
c1f9584e1f improved body.parts docs, closes #600 2023-03-18 16:24:12 +00:00
liabru
5ed985db18 added docs for body.chamfer property, closes #1059 2023-03-18 13:49:56 +00:00
liabru
7ea5bc1352 added doc and warning for Bodies.trapezioid slope parameter range, closes #1075 2023-03-18 12:42:29 +00:00
liabru
6bda7e86d5 rename Composites function xx and yy params, closes #1095 2023-03-18 11:47:16 +00:00
liabru
272049ab05 fix missing mouse.sourceEvents.mousewheel, closes #1146 2023-03-18 11:15:12 +00:00
liabru
8dd0e99b79 added engine beforeSolve event, closes #1173 2023-03-18 11:07:20 +00:00
liabru
812f8af1be added Constraint.currentLength, closes #1184 2023-03-18 10:51:17 +00:00
liabru
e888f3cfda add event passive options to Matter.Mouse, closes #930, closes #976 2023-03-15 23:36:40 +00:00
liabru
4443e6dd99 revert engine collisionStart event back to before resolve 2023-02-15 21:27:39 +00:00
liabru
6bb2855d7c update body docs 2022-12-29 21:19:54 +00:00
liabru
3a8264c671 improve Body.applyForce docs 2022-12-28 23:48:56 +00:00
liabru
f7da96413b revert Body.applyForce 2022-12-28 20:45:37 +00:00
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
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
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