Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    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.