0 votes
asked in General Help by
I'm not sure if I'm using the right terminology but here goes:

What do I need to do in order to hook into the solver loop? I need to check to see if a collision occurs in a chains calculation while heading towards it's end goal in order to stop the solver and clean up the look of the chain at the point of collision if necessary.

1 Answer

0 votes
answered by (15.5k points)

If it's CCD or FABRIK or AimIK, you can use the ik.solver.OnPreIteration delegate, that gets called before each solver iteration. Can't access deeper than that without changing the solver code.



Welcome to RootMotion Q&A, where you can ask questions and receive answers from the developer of Final IK and PuppetMaster and other members of the community.

Post as a guest, create an account or login via Facebook.

Please use the correct category when you post your questions.