Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/pmndrs/p2-es
JavaScript 2D physics library
https://github.com/pmndrs/p2-es
added some Body tests
9631e27ef9f51a1d50c23387a4749bfe8b8dcc2f authored over 9 years ago
9631e27ef9f51a1d50c23387a4749bfe8b8dcc2f authored over 9 years ago
restructured Body test
5a9f542779aca86bd7a2025d08f328cb1b49e641 authored over 9 years ago
5a9f542779aca86bd7a2025d08f328cb1b49e641 authored over 9 years ago
minor docs fix
345df1320e062e0720b9157701c03be26f61defe authored over 9 years ago
345df1320e062e0720b9157701c03be26f61defe authored over 9 years ago
added Ray, RaycastResult, AABB tests
1a205fb80c810bb838b4726a29fac35fef1f16a2 authored over 9 years ago
1a205fb80c810bb838b4726a29fac35fef1f16a2 authored over 9 years ago
added ContactEquation.prototype.getVelocityAlongNormal /cc GoodBoyDigital
1d19827bb6a8997d880bd906c19f488588ed07df authored over 9 years ago
1d19827bb6a8997d880bd906c19f488588ed07df authored over 9 years ago
set frictionIterations via GSSolver constructor
14f669f8acd1fc4e3f0f11f3286331204de57330 authored over 9 years ago
14f669f8acd1fc4e3f0f11f3286331204de57330 authored over 9 years ago
update README again
68a436dd0b485524ae5fd7e747653f44ebdc063b authored over 9 years ago
68a436dd0b485524ae5fd7e747653f44ebdc063b authored over 9 years ago
update README
b2cbc8c2271570edf2cc9b1fba47bd1102899d1c authored over 9 years ago
b2cbc8c2271570edf2cc9b1fba47bd1102899d1c authored over 9 years ago
v0.7.0
3656f3fdcbf81db9474110e20cb05a54cc55a62e authored over 9 years ago
3656f3fdcbf81db9474110e20cb05a54cc55a62e authored over 9 years ago
updated demos and examples to use the new shape constructors
ebe6504aebbabf40387b42927134ad13acff529f authored over 9 years ago
ebe6504aebbabf40387b42927134ad13acff529f authored over 9 years ago
set material via Shape constructor
6a20c754c313cbc1ea7d19ee56f564ef8ec488ff authored over 9 years ago
6a20c754c313cbc1ea7d19ee56f564ef8ec488ff authored over 9 years ago
Updated Shape constructors to only use options object. Renamed Rectangle to Box. Renamed the data property of Heightfield to heights.
380aaa55d6174a6740de66877aad0f77338444f2 authored over 9 years ago
380aaa55d6174a6740de66877aad0f77338444f2 authored over 9 years ago
random fixes
dc905616b8ac76fb4e3e31e47ca494918e9972a4 authored over 9 years ago
dc905616b8ac76fb4e3e31e47ca494918e9972a4 authored over 9 years ago
move position property to Shape
16e1a479a10e2d2b5ec8648ce9b2bad82e44aace authored over 9 years ago
16e1a479a10e2d2b5ec8648ce9b2bad82e44aace authored over 9 years ago
removed GridBroadphase for now. Can add it back later, but right now its just a waste of space and adds confusion
e90c67263d685015e374cb706f5c12b5cbfa74df authored over 9 years ago
e90c67263d685015e374cb706f5c12b5cbfa74df authored over 9 years ago
added buoyancy demo
29afe7e57dab5783b9cd4d3ec0dbc600bb517d8a authored over 9 years ago
29afe7e57dab5783b9cd4d3ec0dbc600bb517d8a authored over 9 years ago
ray docs
a9a63f5122e59bc724dd55b22533e80b7a5f56a2 authored over 9 years ago
a9a63f5122e59bc724dd55b22533e80b7a5f56a2 authored over 9 years ago
remove object references from event objects after emit
fe2461b703d2b10d839c2e1fcc5f5be456e02b58 authored over 9 years ago
fe2461b703d2b10d839c2e1fcc5f5be456e02b58 authored over 9 years ago
dont use setGlobalEquationParameters any more
3c9c720ea6f137fea622437daa67835bcd627f2d authored over 9 years ago
3c9c720ea6f137fea622437daa67835bcd627f2d authored over 9 years ago
removed superfluous method World.prototype.setGlobalEquationParameters
69d494b3cd53ac2690bda0ddb50890d8566146e9 authored over 9 years ago
69d494b3cd53ac2690bda0ddb50890d8566146e9 authored over 9 years ago
fixed bug in Body.prototype.getVelocityAtPoint
3583a799226592634a09896c1a1405c95e0827a6 authored over 9 years ago
3583a799226592634a09896c1a1405c95e0827a6 authored over 9 years ago
Rewrote raycasting API, added Shape.prototype.raycast and removed shape-intersection methods to shapes. Removed World.raycastAny/All/Closest and replaced with World.raycast
d1feff129d6af2fd5991b0d5e0dc2eac9bcc7f5c authored over 9 years ago
d1feff129d6af2fd5991b0d5e0dc2eac9bcc7f5c authored over 9 years ago
added AABB.prototype.containsPoint and some docs
9423e3ab7b217a1a75134e7074f95e405ba56e86 authored over 9 years ago
9423e3ab7b217a1a75134e7074f95e405ba56e86 authored over 9 years ago
Added vec2.getLineSegmentsIntersection and vec2.getLineSegmentsIntersectionFraction
a01ee11a8b47be380d2247fb3c3f818fe2c79cb7 authored over 9 years ago
a01ee11a8b47be380d2247fb3c3f818fe2c79cb7 authored over 9 years ago
updated collision table for ray
3719bf096a76d81953e74966a010be0cdd02c892 authored over 9 years ago
3719bf096a76d81953e74966a010be0cdd02c892 authored over 9 years ago
updated some dependencies
bf5e79d26b828414cfb083b0c0ba37a7b8d26cfb authored over 9 years ago
bf5e79d26b828414cfb083b0c0ba37a7b8d26cfb authored over 9 years ago
ray example update
551dc73d9952644dd87fe0b703475473158b996c authored over 9 years ago
551dc73d9952644dd87fe0b703475473158b996c authored over 9 years ago
ray/heightfield intersect, fixed ray normal for capsule
e96658b4e7e2e2d6ad6c5f4e2bbf95d3cc222a50 authored over 9 years ago
e96658b4e7e2e2d6ad6c5f4e2bbf95d3cc222a50 authored over 9 years ago
ray/capsule intersection
168030548864d47cdf8720e7f53a6753361321b4 authored over 9 years ago
168030548864d47cdf8720e7f53a6753361321b4 authored over 9 years ago
added ray/line intersection
cfd275c481576c263e856642191e69fea4e5cc44 authored over 9 years ago
cfd275c481576c263e856642191e69fea4e5cc44 authored over 9 years ago
removed unused schema.js
642c07015a0e1d7392fddf3f46cf7e61fd2cedb2 authored over 9 years ago
642c07015a0e1d7392fddf3f46cf7e61fd2cedb2 authored over 9 years ago
removed the doProfiling option and .lastStepTime from World, unused
4223c88376f655b4e471986313ad5396425adda5 authored over 9 years ago
4223c88376f655b4e471986313ad5396425adda5 authored over 9 years ago
minor code fixes, removed unused property .fixedStepTime
5a8b475167e85b6ad3f21feafa8b7221f327b4fa authored over 9 years ago
5a8b475167e85b6ad3f21feafa8b7221f327b4fa authored over 9 years ago
auto change segway target position in segway demo
2563350292b230e81844a7f8713638e0aacb07fc authored over 9 years ago
2563350292b230e81844a7f8713638e0aacb07fc authored over 9 years ago
removed unused functions and broken method World.prototype.clone, related to https://github.com/schteppe/p2.js/issues/165
c3309035c7467f36fba1076236e03eeb406efebe authored over 9 years ago
c3309035c7467f36fba1076236e03eeb406efebe authored over 9 years ago
ray optimizations, added AABB.prototype.overlapsRay
f1162d87f8edc1b9e72781763e1988eec3ff77e2 authored over 9 years ago
f1162d87f8edc1b9e72781763e1988eec3ff77e2 authored over 9 years ago
added refraction to ray reflect demo
fbc848ec3e6cb5a36ce2787bd160f3f19b549f91 authored over 9 years ago
fbc848ec3e6cb5a36ce2787bd160f3f19b549f91 authored over 9 years ago
Merge branch 'master' of github.com:schteppe/p2.js
122461bacc915fbdb4f85b40c66cc00ff3fbc74f authored over 9 years ago
122461bacc915fbdb4f85b40c66cc00ff3fbc74f authored over 9 years ago
added vec2.reflect
ea9b6d53a6cafc3b6faad0556b16307ed27ae277 authored over 9 years ago
ea9b6d53a6cafc3b6faad0556b16307ed27ae277 authored over 9 years ago
ray bugfix + reflect example
dfe572a7d5e9109808cdff0f4179d5c6a9396caf authored over 9 years ago
dfe572a7d5e9109808cdff0f4179d5c6a9396caf authored over 9 years ago
Merge pull request #162 from psalaets/master
Small docs fix and removing unused require()
81247384b4e6691d46d6de9d59a33858fc0804d0 authored over 9 years ago
NaiveBroadphase is never used in this file
1f8a100315bcf8450600f0449b70f8a8b73ec15b authored over 9 years ago
1f8a100315bcf8450600f0449b70f8a8b73ec15b authored over 9 years ago
docs fix
b4d6645da93b2cdc4f8a4da833ffdedc93265991 authored over 9 years ago
b4d6645da93b2cdc4f8a4da833ffdedc93265991 authored over 9 years ago
minor docs fix
b8667e80723054c98d00fe90e9905732b6d5b115 authored over 9 years ago
b8667e80723054c98d00fe90e9905732b6d5b115 authored over 9 years ago
Merge branch 'master' of github.com:schteppe/p2.js
5f9e5211b60fa2663cc8e55ef3e8c1651b2065e2 authored over 9 years ago
5f9e5211b60fa2663cc8e55ef3e8c1651b2065e2 authored over 9 years ago
single sided passthrough platforms in character demo /cc @GoodBoyDigital
4966305e4eab9dcd82f418873cd4b3d384b1d568 authored over 9 years ago
4966305e4eab9dcd82f418873cd4b3d384b1d568 authored over 9 years ago
Merge pull request #160 from bkconrad/patch-1
Fix {en,dis}ableBodyCollision docs.
5e9bdcd72ccf507db7d0fa5d1f9f3364d0f02c86 authored over 9 years ago
Fix {en,dis}ableBodyCollision docs.
Ran into this earlier today :)
b70ef57e738bd96fb193fa24545ac658f2eddbd5 authored over 9 years ago
added segway demo
fc101569cba9a94ad4c631711c1cb1bd0c02904d authored over 9 years ago
fc101569cba9a94ad4c631711c1cb1bd0c02904d authored over 9 years ago
mini docs fix
7b02bfa2af8f619d882fa072cfd083064a50f4dc authored over 9 years ago
7b02bfa2af8f619d882fa072cfd083064a50f4dc authored over 9 years ago
Update README.md
814779f35a877ab5183ba096ca1a81330eb51dc8 authored over 9 years ago
814779f35a877ab5183ba096ca1a81330eb51dc8 authored over 9 years ago
Added TopDownVehicle class, Body.prototype.getVelocityAtPoint
33846a5b3a18971b64bf16d42c51a63310970bda authored over 9 years ago
33846a5b3a18971b64bf16d42c51a63310970bda authored over 9 years ago
world.time increment bugfix, made character demo frame rate independent
2e149b2da749fd1eef8c9a348fe1342dca841eb6 authored over 9 years ago
2e149b2da749fd1eef8c9a348fe1342dca841eb6 authored over 9 years ago
Merge pull request #152 from dgoemans/master
Fix for requirejs via phaser
05417264a74721c2961b3f0666cc0332fad60f19 authored over 9 years ago
Update README.md
cd51ce156de087afd5903f1db79ecc5bd0c3eaf0 authored over 9 years ago
cd51ce156de087afd5903f1db79ecc5bd0c3eaf0 authored over 9 years ago
Update README.md
1bfed9318903bb23fd782f741883d8030a97eb76 authored over 9 years ago
1bfed9318903bb23fd782f741883d8030a97eb76 authored over 9 years ago
raycast against convex https://github.com/schteppe/p2.js/issues/157
8c2ed42e03349d83631894af4c66745eb95c1bbb authored over 9 years ago
8c2ed42e03349d83631894af4c66745eb95c1bbb authored over 9 years ago
Update p2.js
Fixed compatibility with phaser and requirejs. Seems that phaser uses p2 globally, and when incl...
8de790e69ca43528c6923b20c59a44ae1e7ddfbd authored almost 10 years ago
Update Gruntfile.js
Reverted previous fix
8958041b5ae21287bbbfc8148261436f843e64fb authored almost 10 years ago
expose pools via docs, added pool prefill example in circles demo
0b2a6481d65f911ab9374da16b7537cd2e2574f2 authored almost 10 years ago
0b2a6481d65f911ab9374da16b7537cd2e2574f2 authored almost 10 years ago
using Pool for islands and nodes
343713443adebc3e8bf3dc3515fb3281e4874f7d authored almost 10 years ago
343713443adebc3e8bf3dc3515fb3281e4874f7d authored almost 10 years ago
initial size of record pool
01c358128a876f4f367c4948cb3f4cb010f5b7e8 authored almost 10 years ago
01c358128a876f4f367c4948cb3f4cb010f5b7e8 authored almost 10 years ago
using Pool for overlap keeper records
fd58350cd8d08578494fb2fc74ed560b652d8894 authored almost 10 years ago
fd58350cd8d08578494fb2fc74ed560b652d8894 authored almost 10 years ago
docs fix
6421e5532ab8c07459025c475a2eeb2e3d2249e3 authored almost 10 years ago
6421e5532ab8c07459025c475a2eeb2e3d2249e3 authored almost 10 years ago
reusing the raycast result object in CCD
788f63086f69e602c8c236be901486969fdc3497 authored almost 10 years ago
788f63086f69e602c8c236be901486969fdc3497 authored almost 10 years ago
dont create overlap keeper data in the loop
48be30cf176af5fa473c4f39e2a175b80c98d45f authored almost 10 years ago
48be30cf176af5fa473c4f39e2a175b80c98d45f authored almost 10 years ago
made raycast example more pretty
f0d2a759127cb6f929de70f2489f2e2930a8a65f authored almost 10 years ago
f0d2a759127cb6f929de70f2489f2e2930a8a65f authored almost 10 years ago
added object pools
3537a2ef62d24d945e03b035cb519bd0a0adc686 authored almost 10 years ago
3537a2ef62d24d945e03b035cb519bd0a0adc686 authored almost 10 years ago
Fix for requirejs via phaser
Fixed compatibility with phaser and requirejs. Seems that phaser uses p2 globally, and when incl...
ced05581ba0f55bb7dccd67eb238f7b324908a90 authored almost 10 years ago
docs fixes
8f0907d424e6c87a5bdd4b349e8e02ba309eea2c authored almost 10 years ago
8f0907d424e6c87a5bdd4b349e8e02ba309eea2c authored almost 10 years ago
using .applyForceLocal() in the asteroids demo
ba46778c6540f7a61e58e3cb28859ef51f025e48 authored almost 10 years ago
ba46778c6540f7a61e58e3cb28859ef51f025e48 authored almost 10 years ago
docs
b4f4547bf5f43fc80ad3f5196a0972ca769e4f33 authored almost 10 years ago
b4f4547bf5f43fc80ad3f5196a0972ca769e4f33 authored almost 10 years ago
Enabled splitting by default, increased solver tolerance. Should improve performance.
1aed70bd195679286ab9ead72306c5a36bc2cd2c authored almost 10 years ago
1aed70bd195679286ab9ead72306c5a36bc2cd2c authored almost 10 years ago
docs
5bd0a4861b830c0e1ab12ba450ca5184a84ef3ac authored almost 10 years ago
5bd0a4861b830c0e1ab12ba450ca5184a84ef3ac authored almost 10 years ago
more tests
77ad4af89746b9044002ca0c841854a9b48f406e authored almost 10 years ago
77ad4af89746b9044002ca0c841854a9b48f406e authored almost 10 years ago
testing
bfb89300728d0d5231137749cfee35c089ca9db3 authored almost 10 years ago
bfb89300728d0d5231137749cfee35c089ca9db3 authored almost 10 years ago
added some tests
9a082f3372dfcbd85cd42adcce818c203cd9d8fc authored almost 10 years ago
9a082f3372dfcbd85cd42adcce818c203cd9d8fc authored almost 10 years ago
changed Body.prototype.applyForce to use a relative point Added .applyLocalForce.
28494c1a9c8a797f28a3580ecdbcfe7c1f7cd6c4 authored almost 10 years ago
28494c1a9c8a797f28a3580ecdbcfe7c1f7cd6c4 authored almost 10 years ago
pause support for interpolation in demos
379a8098ad4b7775119a6b57ad70c7aa6c95aa6b authored almost 10 years ago
379a8098ad4b7775119a6b57ad70c7aa6c95aa6b authored almost 10 years ago
body.fixedX, .fixedY + demo
4624d1e1f82a549ecedb7bfb23cc7df912f136e3 authored almost 10 years ago
4624d1e1f82a549ecedb7bfb23cc7df912f136e3 authored almost 10 years ago
minor code fix
770e7102d07784fb82053c302b53540cc2a414aa authored almost 10 years ago
770e7102d07784fb82053c302b53540cc2a414aa authored almost 10 years ago
added a few options to Body
3ff5bffc2e9af653704c3f659c668b9e9ded0084 authored almost 10 years ago
3ff5bffc2e9af653704c3f659c668b9e9ded0084 authored almost 10 years ago
removed unused Ray code, updated ray example
a26f35370cdcbaf652e0e45fd97259971a980c2c authored almost 10 years ago
a26f35370cdcbaf652e0e45fd97259971a980c2c authored almost 10 years ago
added tests
b357b5e2dda0c7b645a454259ffa1d760717806d authored almost 10 years ago
b357b5e2dda0c7b645a454259ffa1d760717806d authored almost 10 years ago
added Body.prototype.applyImpulse, .applyImpulseLocal, .vectorToLocalFrame and .vectorToWorldFrame
872ea6c3136320ed832fae0fd193b1b4dd87fbe1 authored almost 10 years ago
872ea6c3136320ed832fae0fd193b1b4dd87fbe1 authored almost 10 years ago
added vec2.vectorToLocalFrame and vec2.vectorToGlobalFrame
238d1205fd90bd528e79aa3ba7fb1d7aa36456a5 authored almost 10 years ago
238d1205fd90bd528e79aa3ba7fb1d7aa36456a5 authored almost 10 years ago
using interpolated positions
e9314a14d18198078dab7208abcd8442cf810587 authored almost 10 years ago
e9314a14d18198078dab7208abcd8442cf810587 authored almost 10 years ago
refactor substep loop and interpolation
e593f3b1658490443cb1e1d8ca190009a1b00316 authored almost 10 years ago
e593f3b1658490443cb1e1d8ca190009a1b00316 authored almost 10 years ago
v0.6.1
9fd65db81c0231da2b8165728e30ef3e644133a9 authored almost 10 years ago
9fd65db81c0231da2b8165728e30ef3e644133a9 authored almost 10 years ago
removed the extra bounding radius distance for CCD rays, dont think its needed
22be57ccb3b99e27dfc771ec1d4571b6d6087454 authored almost 10 years ago
22be57ccb3b99e27dfc771ec1d4571b6d6087454 authored almost 10 years ago
rotating the body to TOI in CCD. Also some optimizations
b26e70aaded2fb8308247ffbb9e2cd0e68a2f774 authored almost 10 years ago
b26e70aaded2fb8308247ffbb9e2cd0e68a2f774 authored almost 10 years ago
docs
bc2898a86df2c363dbe37746b8f1b7e9f6c0c8d8 authored almost 10 years ago
bc2898a86df2c363dbe37746b8f1b7e9f6c0c8d8 authored almost 10 years ago
transposed the collision matrix, easier to read on github
d7e1897f9c7e718a1f0856fbcca4de5124084782 authored almost 10 years ago
d7e1897f9c7e718a1f0856fbcca4de5124084782 authored almost 10 years ago
added Ray to the collision table
938e4e7d865b75ff0dab0c5f53bce919566b66f3 authored almost 10 years ago
938e4e7d865b75ff0dab0c5f53bce919566b66f3 authored almost 10 years ago
using binary search to find time of impact
5c31aa29ba7cb4bdca04a4473c554a5b4397b5ad authored almost 10 years ago
5c31aa29ba7cb4bdca04a4473c554a5b4397b5ad authored almost 10 years ago
initial work on CCD, should just binary search left todo https://github.com/schteppe/p2.js/issues/149
8cf4d8a25796572ddc1425b00b80663b6c7faff4 authored almost 10 years ago
8cf4d8a25796572ddc1425b00b80663b6c7faff4 authored almost 10 years ago
cleanup raycasting demo
7ef091fcf17a3361d7cd96ca8b8b1081b8d441b9 authored almost 10 years ago
7ef091fcf17a3361d7cd96ca8b8b1081b8d441b9 authored almost 10 years ago
moved integrate method to the Body
d971f92f745ba5ba7e76f8b436bf09bf68f0086f authored almost 10 years ago
d971f92f745ba5ba7e76f8b436bf09bf68f0086f authored almost 10 years ago
added capsule to the raycasting demo, still WIP
a0af133b2a3fcf45eaa597f70ef5c0b44c8b8f78 authored almost 10 years ago
a0af133b2a3fcf45eaa597f70ef5c0b44c8b8f78 authored almost 10 years ago
raycastAll seem to work and with correct rectangle normals
2d6b7f6429aa1cff10f38a32e4bf5617e830b7bd authored almost 10 years ago
2d6b7f6429aa1cff10f38a32e4bf5617e830b7bd authored almost 10 years ago