/// <summary>
/// Builds a ball socket joint.
/// </summary>
/// <param name="connectionA">First connection in the pair.</param>
/// <param name="connectionB">Second connection in the pair.</param>
/// <param name="anchor">World space anchor location used to initialize the local anchors.</param>
public IKBallSocketJoint(Bone connectionA, Bone connectionB, Vector3 anchor)
: base(connectionA, connectionB)
{
Vector3 tmp;
anchor.Sub(ref ConnectionA.Position, out tmp);
SetOffsetA(ref tmp);
anchor.Sub(ref ConnectionB.Position, out tmp);
SetOffsetB(ref tmp);
}