Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

  • 0
tofoux

Unity 4 > Unity 5

Question

Hello since I go sour Unity 5 I have this error, how to correct it?


Please login or register to see this quote.



Please login or register to see this code.

 

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts


  • 0

I've never bothered playing with IK since I don't really do 3d games that much anymore. So, I'd listen to themars.

Also Unity5 > 4

  • Like 2

Share this post


Link to post
Share on other sites
  • 0

just put this script in character controller

 

void OnAnimatorIK()

    {
        // set the speed of our animator to the public variable 'animSpeed'
        anim.SetLookAtWeight(lookWeight);                    // set the Look At Weight - amount to use look at IK vs using the head's animation
    }

 

instead of  FixdUpdate ou update 

​it works well for me

Edited by dneret

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...