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

Is it possible to change Unity IK foot separation distance with code?

Discussion in 'Editor & General Support' started by jasonoda, Aug 21, 2018.

  1. jasonoda

    jasonoda

    Joined:
    Sep 7, 2012
    Posts:
    67
    I use the built in Unity IK passes on my animated character. I combine this will Final IK from the asset store. The two work together very well, except for the fact that I'd like my character when standing in idle to have a wider stance...in other words, feet further apart. The built in Unity IK forces the feet into a certain position that prevents this from happening. Is there any way with code, to change this distance?

    It is not possible with layers because the IK overwrites what you do with layers.

    Thank you for your help!