/** Set the max force between two bodies */ public void SetMaxForce(float force) { foreach (cpConstraint joint in _info.getJoints()) { joint.maxForce = force; } }
public void AddJoint(CCPhysicsJointInfo joint) { foreach (cpConstraint subjoint in joint.getJoints()) { _space.AddConstraint(subjoint); } }
public void RemoveJoint(CCPhysicsJointInfo joint) { foreach (var subjoint in joint.getJoints()) { _space.RemoveConstraint(subjoint); } }
public void AddJoint(CCPhysicsJointInfo joint) { foreach (cpConstraint subjoint in joint.getJoints()) { _space.AddConstraint(subjoint); } }
public void removeJoint(CCPhysicsJointInfo joint) { foreach (var subjoint in joint.getJoints()) { _space.RemoveConstraint(subjoint); } }