Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with Final IK
#10
(11-01-2018, 05:24 PM)josemendez Wrote: Hi,

Found time to test this out. Works fine for me (tested it in the sample CharacterCloth scene). Just make sure that ObiSolver is set to execute after FinalIK in the script execution order panel.

If FIK executes after Obi (FIK places itself as the last thing to execute automatically), it will reposition the cloth after the simulation every frame which leads to jittering (cloth falls due to gravity, FIK moves it back up to meet IK constraints, cloth springs back up and falls, FIK moves it back up...etc).

Keep in mind that most IK methods make adjustments every frame to the raw animated bones, unlike physics engines (like Obi) which use the previous frame's output as input for the next frame of simulation. This means that the order in which you apply them is extremely important since any sync issues won't manifest themselves as 1-frame delays or similar stuff (which would be hard to notice), but will haunt you every frame instead.

What you're after is this sequence of events per frame:

- Skeletal animation poses the character.
- FIK moves the bones to their right position, to meet IK constraints.
- Obi simulates the hair mesh using the IK-corrected bones as input.

So, set ObiCollider and ObiSolver scripts to execute last, after all Final IK stuff.

cheers!

Thank you, this seems to have fixed it! You might want to make a note about the script execution order in the manual for people using Root Motion plug-ins, because for me Final IK was indeed set to be last, and I never would have figured that out if you hadn't told me.

Thanks againĀ  Sonrisa
Reply


Messages In This Thread
Problem with Final IK - by Deschanna - 29-12-2017, 08:35 AM
RE: Problem with Final IK - by Deckard_89 - 04-01-2018, 08:32 PM
RE: Problem with Final IK - by josemendez - 05-01-2018, 12:40 AM
RE: Problem with Final IK - by Deckard_89 - 05-01-2018, 07:25 PM
RE: Problem with Final IK - by josemendez - 08-01-2018, 08:01 PM
RE: Problem with Final IK - by Deckard_89 - 08-01-2018, 09:32 PM
RE: Problem with Final IK - by josemendez - 09-01-2018, 10:42 AM
RE: Problem with Final IK - by Deckard_89 - 09-01-2018, 07:19 PM
RE: Problem with Final IK - by josemendez - 11-01-2018, 05:24 PM
RE: Problem with Final IK - by Deckard_89 - 12-01-2018, 06:57 PM
RE: Problem with Final IK - by louiskoo - 16-02-2018, 10:59 AM
RE: Problem with Final IK - by Deckard_89 - 17-02-2018, 07:59 PM
RE: Problem with Final IK - by louiskoo - 18-02-2018, 05:43 PM
RE: Problem with Final IK - by josemendez - 18-02-2018, 06:30 PM
RE: Problem with Final IK - by louiskoo - 19-02-2018, 03:03 PM
RE: Problem with Final IK - by Jim Rankenberg - 05-04-2019, 02:19 PM