createJoint and destroyJoint do not accept same parameters

  ... in the unlikely case you discovered a bug, post it here.

createJoint and destroyJoint do not accept same parameters

Postby josh » Fri Sep 23, 2011 9:11 pm

I am doing a revolute joint and calling createJoint(revjointdef).

Now when I want to change that joint, I thought I would destory it and recreate. The problem is destoryJoint method doesnot take in the same parameter. Is this a bug?
josh
 
Posts: 7
Joined: Fri Jul 15, 2011 7:43 pm

Re: createJoint and destroyJoint do not accept same paramete

Postby chug2k » Sun Nov 27, 2011 9:18 am

I think you need to pass in the actual Joint, which is the return value from createJoint. Pass that in as the argument to destroyJoint.
chug2k
 
Posts: 1
Joined: Sun Nov 27, 2011 9:17 am


Return to Bugs

Who is online

Users browsing this forum: No registered users and 3 guests