Ninjadoodle Posted January 31, 2018 Share Posted January 31, 2018 Hi @enpu Box2d has a bullet setting, to make bodies with more precise collisions. Is there a similar setting in P2? I've been searching around and can't find anything related. Thank you! Quote Link to comment Share on other sites More sharing options...
enpu Posted January 31, 2018 Share Posted January 31, 2018 @Ninjadoodle Not sure about that. What do you exactly mean by "more precise collisions" ? Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted January 31, 2018 Author Share Posted January 31, 2018 Hi @enpu Sometimes when your lets say dropping balls onto a floor, the balls momentarily go through the floor, then correct themselves. This happens in Box2d also, but the bullet setting helps. Quote Link to comment Share on other sites More sharing options...
Milton Posted January 31, 2018 Share Posted January 31, 2018 ccdSpeedThreshold? Ninjadoodle 1 Quote Link to comment Share on other sites More sharing options...
enpu Posted January 31, 2018 Share Posted January 31, 2018 Yeah try that if it helps: http://schteppe.github.io/p2.js/docs/classes/Body.html#property_ccdSpeedThreshold Ninjadoodle 1 Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted January 31, 2018 Author Share Posted January 31, 2018 Hi @Milton @enpu - Thank for the link Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.