weedshaker Posted March 12, 2015 Share Posted March 12, 2015 Hello, today, they released the BOX2D commercial Plugin for Phaser: http://phaser.io/examples/v2/category/box2d or at least came up with examples, so that somebody could start working with it. Anyways, I have been using P2JS on my ongoing development and have been pretty satisfied except that it is sometimes hard to work around issues with friction which applies on a body top but also side, so that a character will not slide on top but in return hangs on the side due to that friction, sure I found some workarounds but I was wondering if BOX2D would solve such issues better. Does someone have experience with both of the physics systems and if yes, what are the pros and cons of each? Thaks a lot! Link to comment Share on other sites More sharing options...
roscminni Posted March 19, 2015 Share Posted March 19, 2015 Hi, I can't say i'm an expert on either, but I think the examples illustrate a lot of the differences. One thing I was particularly interested in was the ability to add Wheel fixtures to a physics body (you may be able to do this in P2JS, but it definitely is easier with BOX2D). Detecting continuous collision appears to be easier too. Hope this helps in some way. Link to comment Share on other sites More sharing options...
weedshaker Posted November 27, 2015 Author Share Posted November 27, 2015 Hi, I worked it out with the continuous collision in p2.js. See my post here: http://www.html5gamedevs.com/topic/6502-bodytouchingdown/#entry107001 Cheers Link to comment Share on other sites More sharing options...
richpixel Posted March 31, 2016 Share Posted March 31, 2016 Curious about this too... would like to use Box2d for the bullet physics and tighter collision handling but wondering about performance. Link to comment Share on other sites More sharing options...
Recommended Posts