Forum begins after the advertisement:


[Part 1] Player’s legs do not animate along with the rest of the Body

Home Forums Video Game Tutorial Series Creating a Farming RPG in Unity [Part 1] Player’s legs do not animate along with the rest of the Body

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #11685
    Kiefer Neo
    Level 12
    Moderator
    Helpful?
    Up
    0
    ::

    To fix this, you can make your Walk parameter a Float, and do something like:

    anim.SetFloat("Walk", agent.velocity.magnitude).

    Then in the transitions, set the transition from Idle to Walk whenever “Walk” (the parameter) is greater than 0; and set a transition from Walk to Idle whenever “Walk” is less than 0.1.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

Go to Login Page →


Advertisement below: