Search Unity

IK with animator

Discussion in 'Animation' started by Nyrh, Mar 31, 2020.

  1. Nyrh

    Nyrh

    Joined:
    Mar 7, 2018
    Posts:
    13
    Hi,

    I'm trying to do some IK with the animator and I followed this tuto and it went well :)
    https://docs.unity3d.com/Manual/InverseKinematics.html

    The thing I want some IK with is kind of a snake, my question is is it possible to use this principle with
    animator.SetIKPositionWeight with something that is not humanoïd ?
    The first parameter is AvatarIKGoal but it's just an enum with both hands and foot, so useless for a snake ^^

    Thanks for any kind of help :)
     
  2. Kybernetik

    Kybernetik

    Joined:
    Jan 3, 2013
    Posts:
    2,570
    The inbuilt IK system only works for Humanoids.

    Look into the Animation Rigging package.
     
  3. Nyrh

    Nyrh

    Joined:
    Mar 7, 2018
    Posts:
    13
    Thanks