public static CCPhysicsJointSpring Construct(CCPhysicsBody a, CCPhysicsBody b, CCPoint anchr1, CCPoint anchr2, float stiffness, float damping) { CCPhysicsJointSpring joint = new CCPhysicsJointSpring(); if (joint != null && joint.Init(a, b, anchr1, anchr2, stiffness, damping)) { return(joint); } return(null); }
public static CCPhysicsJointSpring Construct(CCPhysicsBody a, CCPhysicsBody b, CCPoint anchr1, CCPoint anchr2, float stiffness, float damping) { CCPhysicsJointSpring joint = new CCPhysicsJointSpring(); if (joint != null && joint.Init(a, b, anchr1, anchr2, stiffness, damping)) { return joint; } return null; }