Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Hip Controller

Discussion in 'Animation' started by mrstupes, Apr 24, 2014.

  1. mrstupes

    mrstupes

    Joined:
    Nov 29, 2013
    Posts:
    8
    Hello,

    I have a question about using legacy animation in Unity. I have a rig, with a standard hip controller for controlling the hips. Using that causes the feet to slide. Because of the project I am doing, I cant use mechanim which plants the feet on the ground. Does anyone know a work around for this.

    Thank you
     
  2. shaderop

    shaderop

    Joined:
    Nov 24, 2010
    Posts:
    942
    How does that happen exactly? Are the feet sliding in the original animation? Or do you mean that they slide when you attempt to rotate the hips from code (assuming that is even possible)?
     
  3. mrstupes

    mrstupes

    Joined:
    Nov 29, 2013
    Posts:
    8
    They slide when importing in unity. they dont in maya
     
  4. shaderop

    shaderop

    Joined:
    Nov 24, 2010
    Posts:
    942
    I haven't used Maya in ages and I have never exported any animations from it to Unity. But here's my stab in the dark: I'm guessing that feet are being animated by an IK chain in Maya, and those changes aren't carrying over to Unity. If that is indeed the case, then you should be able to get it to work by baking the animation onto the FK/deformation bones and re-importing into Unity.

    I'm sorry for wasting your time if that is not the case :)