3 ms·
I am familiar with P2 JS, looked through PhysicsJS and the two very basic arcade engines grown within Phaser JS. Matter JS seems to have the exact same feature
by madethemcry 12y ago
I am familiar with P2 JS, looked through PhysicsJS and the two very basic arcade engines grown within Phaser JS. Matter JS seems to have the exact same feature set like any other library. I haven't seen any 2D web engine, besides the JS ports of Box2D, which supports continuous collision detection (CCD), which would prevent a lot of tunneling, especially on slower mobile phones.
Why is that? CCD doesn't look more complex in theory than any other concept in a 2d physics engine.
P2JS: https://github.com/schteppe/p2.js https://github.com/schteppe/p2.js
PhysicsJS: http://wellcaffeinated.net/PhysicsJS/ http://wellcaffeinated.net/PhysicsJS/
Phaser: http://phaser.io/ http://phaser.io/