17-05-2019, 10:29 AM
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:
And make sure you have "Fix Transforms" enabled in the VRIK component.
Best,
Pärtel
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