Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trouble using FinalIK with Obi Bone
#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


Messages In This Thread
Trouble using FinalIK with Obi Bone - by threex3 - 29-08-2022, 06:03 PM
RE: Trouble using FinalIK with Obi Bone - by josemendez - 30-08-2022, 07:26 AM