Search Unity

Animations with the First Person Controller from Standard Assets

Discussion in 'Animation' started by matiasges, May 14, 2021.

  1. matiasges

    matiasges

    Joined:
    Jan 24, 2021
    Posts:
    142
    I'm having issues to implement my own animations on the first person controller of the Unity Standard Assets. Mostly with the script, on where and how to trigger some animations when the player is walking and running. Has anyone use this asset and worked your own animations with it successfully?
     
  2. matiasges

    matiasges

    Joined:
    Jan 24, 2021
    Posts:
    142
    So, for those interested I found a way with:

    Code (CSharp):
    1. CrossPlatformInputManager.GetAxis("Vertical"), 0.1f, Time.deltaTime