Jump to content

remove a constraint


files___
 Share

Recommended Posts

Hi folks, I need help!
How can I remove a constraint?!

I have:

game.physics.p2.createRevoluteConstraint(nearest, [0,0], newRect2, [0,0], maxForce);

Later, in the code, I need to destroy the layer, but before to do that, I need to remove the constraint!

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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