Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

How "do something" while each X frames of animation.

Discussion in 'Animation' started by xiberio, Sep 9, 2013.

  1. xiberio


    Aug 5, 2013
    I'm trying to implement a character roll on the floor, it's "pasive" so the user press forward one time, and then the character do a roll (while character is rolling, player can't controll it)
    My problem i that the animation of the roll is played, and then, the character move suddenly to the final position.
    I think i need to move the charater each 2 frames of aniamtion for example, so the player will move along with the animation, but i really don't know how to do this (i'm a newbie in unity).
    I've readed that Mecanim has not animation events, and animation curves are only for pro users. How could i imlpement this? Any clue?
    I'm really stuck with this.
    Thanks and sorry for my english.