public static CCPhysicsJointRatchet Construct(CCPhysicsBody a, CCPhysicsBody b, float phase, float ratchet) { CCPhysicsJointRatchet joint = new CCPhysicsJointRatchet(); if (joint != null && joint.Init(a, b, phase, ratchet)) { return(joint); } return(null); }
public static CCPhysicsJointRatchet Construct(CCPhysicsBody a, CCPhysicsBody b, float phase, float ratchet) { CCPhysicsJointRatchet joint = new CCPhysicsJointRatchet(); if (joint != null && joint.Init(a, b, phase, ratchet)) { return joint; } return null; }