public static CCPhysicsJointGroove Construct(CCPhysicsBody a, CCPhysicsBody b, CCPoint grooveA, CCPoint grooveB, CCPoint anchr2) { CCPhysicsJointGroove joint = new CCPhysicsJointGroove(); if (joint != null && joint.Init(a, b, grooveA, grooveB, anchr2)) { return(joint); } return(null); }
public static CCPhysicsJointGroove Construct(CCPhysicsBody a, CCPhysicsBody b, CCPoint grooveA, CCPoint grooveB, CCPoint anchr2) { CCPhysicsJointGroove joint = new CCPhysicsJointGroove(); if (joint != null && joint.Init(a, b, grooveA, grooveB, anchr2)) { return joint; } return null; }