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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Resolved Delayed Animation Event

Discussion in 'Animation' started by TestUser001, Jul 16, 2020.

  1. TestUser001

    TestUser001

    Joined:
    Jun 22, 2018
    Posts:
    5
    On my attack animation i added an event to the last frame.
    upload_2020-7-16_0-24-1.png

    I tested the event and i seen that it always gets delayed when the event gets fired, all i have is a function with a bool which sets to true.

    upload_2020-7-16_0-26-34.png

    It always fires the event in the middle of the idle animation.

    upload_2020-7-16_0-29-4.png

    Is there a way to fix this?

    Thanks.
     

    Attached Files:

    Last edited: Jul 16, 2020
  2. TestUser001

    TestUser001

    Joined:
    Jun 22, 2018
    Posts:
    5
    Fixed.
    The error was that the idle animation played before the event was called.

    upload_2020-7-16_13-53-23.png
     
    VaporAnomaly likes this.