Jump to content

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


valueerror
 Share

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

 Share

  • Recently Browsing   0 members

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