Gets the index of the chain (in the IKSolverFullBody.chain array) that contains the specified Transform.