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