Jump to content

is it possible to disable specific (not needed) equations in p2 physics


Recommended Posts

just in case this question was pushed down before someone with deeper p2 insight could read it ;-)


i found out that   

game.physics.p2.applyDamping = false;

would deactivate damping completely..  but it looks like this is not working with other stuff..  


this for example does NOT work:

game.physics.p2.applyFriction = false;

i can stil console.log the friction equation in the onPresolve event...  so this seems to be still calculated ...


thx again!

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...