zrlhk
06-07-2009 07:29:22
Hi .everyone, I use newton physical engineer.
But now I can't find the method to destroy a CustomGearJoint.
I used new to build a joint:
OgreNewt::PrebuiltCustomJoints::CustomGearJoint* mgj=new OgreNewt::PrebuiltCustomJoints::CustomGearJoint(rel,(*itr)->getBody(),(*iitr)->getBody(),ParentPin,ChildPin);
But who can tell me how to destroy this CustomGearJoint? (Don't destroy the body)
But now I can't find the method to destroy a CustomGearJoint.
I used new to build a joint:
OgreNewt::PrebuiltCustomJoints::CustomGearJoint* mgj=new OgreNewt::PrebuiltCustomJoints::CustomGearJoint(rel,(*itr)->getBody(),(*iitr)->getBody(),ParentPin,ChildPin);
But who can tell me how to destroy this CustomGearJoint? (Don't destroy the body)