626 Commits

Author SHA1 Message Date
Oliver Zell
5ff992dfd6 feat!: add translation limit to wheel and prismatic joint 2023-08-12 11:29:19 +02:00
Ali Shakiba
f23158ae90 v2 es6 build 2023-08-11 10:25:36 -07:00
Ali Shakiba
2b297519d9 update build v1-beta.8 2023-08-11 09:54:13 -07:00
Ali Shakiba
46aea292e5 add lengthUnitsPerMeter to settings 2023-08-11 09:40:52 -07:00
Ali Shakiba
277f60eb13 update build v1-beta.7 2023-08-11 08:15:49 -07:00
Ali Shakiba
6090cc44a7 initialize DistanceInput 2023-08-11 08:11:10 -07:00
Ali Shakiba
b7ce8be80e
optimize matrix functions (#255) 2023-08-10 20:55:02 -07:00
Ali Shakiba
9bc1bc03dc fix node benchmark 2023-08-09 23:53:44 -07:00
Oliver Zell
652eb41563
test: switch to vitest (#252)
* test: switch to vitest

* docs: exclude tests from typedocs

* chore: remove ts-node dependency

* test: remove chai dependency
2023-08-07 13:32:29 -07:00
Ali Shakiba
e942302745 add git info to benchmark page 2023-08-06 23:41:04 -07:00
Ali Shakiba
322bdaf42b improve memory allocation 2023-08-06 22:20:43 -07:00
Ali Shakiba
500bb9c71e
fix benchmark link 2023-08-06 22:13:14 -07:00
Ali Shakiba
3aa18f07b6 add benchmark 2023-08-06 21:56:56 -07:00
Ali Shakiba
2ca89b0ad2 update stage.js version 2023-08-06 19:55:25 -07:00
Oliver Zell
849f0e7f9b fix: fix testbed findBody function 2023-08-06 19:29:11 -07:00
Ali Shakiba
1a4b19d3ee fix build, js files default to esm 2023-08-06 19:16:45 -07:00
Ali Shakiba
c2877d248c update pool class 2023-08-06 12:22:21 -07:00
Ali Shakiba
0d4e72564a remove duplicate type 2023-08-05 21:38:22 -07:00
Oliver Zell
a904b1fdb3
Merge pull request #247 from piqnt/shape-cast
feat: add ShapeCast function
2023-08-05 10:15:42 +02:00
Oliver Zell
05352bd7b6 docs: make ShapeCast example more interesting 2023-08-05 10:14:42 +02:00
Oliver Zell
bbcdc54da4 feat: add ShapeCast function 2023-08-05 09:29:46 +02:00
Oliver Zell
65eaf4d858 refactor: use early returns 2023-08-04 16:27:56 -07:00
Oliver Zell
c76525ba24 fix: fix anchor A formula for MotorJoint to include the offset 2023-08-04 16:27:56 -07:00
Oliver Zell
5ed20efedb docs: added documentation of damping parameter units 2023-08-04 16:27:56 -07:00
Oliver Zell
09b41946e3 refactor!: remove getVertex method on shapes 2023-08-04 16:27:56 -07:00
Oliver Zell
bfd859669b feat: body.setAwake now resets the sleep timer even if the body is awake 2023-08-04 16:27:56 -07:00
Oliver Zell
c7e33ee2d1 refactor: polygonal radius clarity 2023-08-04 16:27:56 -07:00
Oliver Zell
af01b2921d refactor: remove dead code 2023-08-04 16:27:56 -07:00
Oliver Zell
3ccbd84dc4 refactor: minor refactorings 2023-08-04 16:27:56 -07:00
Ali Shakiba
39a983b7c5
make build backward compatible (#245) 2023-08-01 14:30:08 -07:00
Ali Shakiba
cbfba8ccc8
typescript testbed and vite build (#244) 2023-07-31 21:47:06 -07:00
Ali Shakiba
499075d715
refactor exports and add esm export (#243) 2023-07-31 19:35:10 -07:00
Ali Shakiba
c8e7407241
update links 2023-07-28 19:02:24 -07:00
Ali Shakiba
f41da62e94
update links 2023-07-28 19:00:59 -07:00
Ali Shakiba
836cdb0d5f fix typo 2023-07-28 02:05:59 -07:00
harun
2d69c7727b Update OneSidedPlatform.js
Added comments for clarification of if(0) { ... } else { ... } usage
2023-07-23 22:34:22 -07:00
Ali Shakiba
298d7dd6d4
move docs to new site 2023-07-09 01:06:21 -07:00
Jean Saint Fleur
9ae39ce602 remove userData exception when he has falsy value "0" 2023-07-06 18:14:37 -07:00
Ali Shakiba
26b6185f95
remove install instruction 2023-07-04 23:55:51 -07:00
Ali Shakiba
29d2462eb3
fix DistanceJoint typing 2023-06-13 15:51:55 -07:00
Ali Shakiba
1702647e06 move initialization after factory call check 2023-06-12 11:17:29 -07:00
Ali Shakiba
889236ea3c move build-utils 2023-06-09 08:19:20 -07:00
Ali Shakiba
361199edae update license and changes 2023-06-09 08:19:20 -07:00
Ali Shakiba
04e9f70561 remove babel 2023-06-09 08:19:20 -07:00
Ali Shakiba
83eb157c73
remove bower.json 2023-06-08 18:09:06 -07:00
Ali Shakiba
83e3e33295
Update README.md 2023-06-02 23:08:58 -07:00
Oliver Zell
3b262124ce alpha.4 2022-03-29 12:23:36 +02:00
Oliver Zell
3fef1b9423
Merge pull request #212 from matthewvroman/hotfix/prismatic-joint-constraints
Include missing instantiation of m_K matrix
2022-03-04 19:53:23 +01:00
Matt Vroman
8c9c84220c Merge branch 'master' of https://github.com/shakiba/planck.js into hotfix/prismatic-joint-constraints 2022-03-03 18:50:59 -08:00
Matt Vroman
0015f7f50e Include missing instantiation of m_K matrix 2022-03-03 18:50:03 -08:00