Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Character Cloth with Final IK (with GIFs)
#9
(17-05-2019, 10:29 AM)Partel Lang Wrote: Hey,

About VRIK and the character climbing to the ceiling bug, I forgot about the Fix Transforms part.
If the avatar does not have animation playing on it that would overwrite the results of IK the next frame, the IK will start solving additively on top of its own results frame by frame. The solution would be to add this to ObiAnimatorController.cs, just before animator.Update(updateDelta) is called:

Code:
foreach (IK ik in IKComponents)
               {
                   if (ik.fixTransforms) ik.GetIKSolver().FixTransforms();
               }

And make sure you have "Fix Transforms" enabled in the VRIK component.

Best,
Pärtel

Thank you Pärtel,
That solved it.
I almost guessed it and didn't have a clue Gran sonrisa
And of course - thank you Jose.
-Jim
Reply


Messages In This Thread
RE: Character Cloth with Final IK (with GIFs) - by Jim Rankenberg - 18-05-2019, 05:09 PM