public void Initiate(IKSolverFullBody solver) { this.chain1 = solver.GetChain(this.bone1); this.chain2 = solver.GetChain(this.bone2); this.node1 = this.chain1.nodes[0]; this.node2 = this.chain2.nodes[0]; this.OnPreSolve(); }
/* * Initiating the constraint * */ public void Initiate(IKSolverFullBody solver) { chain1 = solver.GetChain(bone1); chain2 = solver.GetChain(bone2); node1 = chain1.nodes[0]; node2 = chain2.nodes[0]; OnPreSolve(); }
/* * Initiating the constraint * */ public void Initiate(IKSolverFullBody solver) { chain1 = solver.GetChain(bone1); chain2 = solver.GetChain(bone2); node1 = chain1.nodes[0]; node2 = chain2.nodes[0]; OnPreSolve(); }