Search Unity

Request: Improvement to Avatar Mask docs, IK toggles

Discussion in 'Documentation' started by jwinn, Jun 17, 2016.

  1. jwinn

    jwinn

    Joined:
    Sep 1, 2012
    Posts:
    88
    IK Curves Toggle
    This needs explanation of what IK Curves are and what this means. Very vague:

    "In the body mask, you can also toggle inverse kinematics (IK) for hands and feet, which will determine whether or not IK curves will be included in animation blending."

    http://docs.unity3d.com/540/Documentation/Manual/class-AvatarMask.html

    Mathf.Lerp
    Another one that's been an issue for a while, and I know was brought up a long time ago are the examples for Lerp. They use Time.time, which is quite confusing in trying to understand how to actually use it. Could use a much better explanation, in addition to changing the example:
    https://docs.unity3d.com/ScriptReference/Mathf.Lerp.html
    http://answers.unity3d.com/questions/237294/how-the-heck-does-mathflerp-work.html
    http://forum.unity3d.com/threads/th...o-can-i-talk-to-about-it.291518/#post-1923420
    https://chicounity3d.wordpress.com/2014/05/23/how-to-lerp-like-a-pro/
     
    Last edited: Jun 17, 2016
  2. Alex_May

    Alex_May

    Joined:
    Dec 29, 2013
    Posts:
    198
    Great - thanks so much for these. I have created issues in our database for them both to be looked at.
     
  3. Alex_May

    Alex_May

    Joined:
    Dec 29, 2013
    Posts:
    198
    Mathf.Lerp and other items in Mathf have had a little makeover, and should hit the web 19th August if they're not already live. We'll also revisit some of the other functions in that class, I think. Thanks for the report!
     
  4. iHeartGameDev

    iHeartGameDev

    Joined:
    May 3, 2019
    Posts:
    12
    Hello! I would like to request information about the original post. It appears that IK Curves Toggle documentation was never updated. I'm still wondering what exactly the toggle does.

    I have attempted to use the IK implementation here: https://docs.unity3d.com/Manual/InverseKinematics.html And disabling "IK Pass" disables this implementation, but disabling the ik on the avatar mask does not.

    So my questions are as follows: what are IK Curves and how do I use the avatar mask to enable/disable them?