Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trouble using FinalIK with Obi Bone
#1
Hi! 
I'm having some issues setting up FinalIK's CCD IK with Obi Bone. I have a pretty simple scene set up where Obi Bone works OK when CCD IK is disabled, but when it's enabled, the Obi Rope/Bone Curve is stuck in it's starting position (see screenshot).
I read about getting the script order correct so I threw a LateUpdate on the Obi Solver, but still having no luck. 
Sorry, I'm still pretty new at this  Tímido

   
   
Reply
#2
I got it a bit better by turning off "Fix Transforms" in CCD IK, but it's still a little rigid, especially near the end of the chain. 

   
Reply
#3
(29-08-2022, 06:03 PM)threex3 Wrote: Hi! 
I'm having some issues setting up FinalIK's CCD IK with Obi Bone. I have a pretty simple scene set up where Obi Bone works OK when CCD IK is disabled, but when it's enabled, the Obi Rope/Bone Curve is stuck in it's starting position (see screenshot).
I read about getting the script order correct so I threw a LateUpdate on the Obi Solver, but still having no luck. 
Sorry, I'm still pretty new at this  Tímido

Hi!

If memory serves me well, FinalIK is updated in LateUpdate() by default. So updating Obi in LateUpdate too will not work, since the order in which Unity calls LateUpdate for different objects is undefined: it might work sometimes, might not work other times.

Best solution is probably to manually update FinalIK in one of Obi's solver callbacks, OnBeginStep should work:
http://obi.virtualmethodstudio.com/manua...olver.html
Reply
#4
(30-08-2022, 07:26 AM)josemendez Wrote: Hi!

If memory serves me well, FinalIK is updated in LateUpdate() by default. So updating Obi in LateUpdate too will not work, since the order in which Unity calls LateUpdate for different objects is undefined: it might work sometimes, might not work other times.

Best solution is probably to manually update FinalIK in one of Obi's solver callbacks, OnBeginStep should work:
http://obi.virtualmethodstudio.com/manua...olver.html

That did it, thanks Sonrisa
Reply